Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def config():
@click.argument('filename', required=False)
def save(filename):
"""Export current config DB to a file on disk.\n
<filename> : Names of configuration file(s) to use, separated by comma with no spaces in between
<filename> : Names of configuration file(s) to save, separated by comma with no spaces in between
"""
num_asic = _get_num_asic()
cfg_files = []
Expand Down Expand Up @@ -642,7 +642,7 @@ def save(filename):
@click.argument('filename', required=False)
def load(filename, yes):
"""Import a previous saved config DB dump file.
<filename> : Names of configuration file(s) to use, separated by comma with no spaces in between
<filename> : Names of configuration file(s) to load, separated by comma with no spaces in between
"""
if filename is None:
message = 'Load config from the default config file(s) ?'
Expand Down Expand Up @@ -705,7 +705,7 @@ def load(filename, yes):
@click.argument('filename', required=False)
def reload(filename, yes, load_sysinfo):
"""Clear current configuration and import a previous saved config DB dump file.
<filename> : Names of configuration file(s) to use, separated by comma with no spaces in between
<filename> : Names of configuration file(s) to reload, separated by comma with no spaces in between
"""
if filename is None:
message = 'Clear current config and reload config from the default config file(s) ?'
Expand Down