Skip to content

Commit f609418

Browse files
authored
Update the help messages
1 parent 643a919 commit f609418

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

savedesktop

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ sys.path.append(init_dir)
1616
# Command-line arguments
1717
parser = argparse.ArgumentParser()
1818
parser.add_argument("--background", action="store_true", help="Start periodic saving")
19-
parser.add_argument("--sync", action="store_true", help="Sync a desktop configuration")
20-
parser.add_argument("--save-now", action="store_true", help="Save a configuration using UI parameters (learn more: https://vikdevelop.github.io/SaveDesktop/wiki/saving-importing-configuration-in-cli/en#saving-configuration)")
21-
parser.add_argument("--save-without-archive", type=str, help="Save a configuration without an archive", dest="FOLDER_PATH")
22-
parser.add_argument("--import-config", help="Import a configuration from a file (learn more: https://vikdevelop.github.io/SaveDesktop/wiki/saving-importing-configuration-in-cli/en#importing-configuration)", type=str, dest="CFG_ARCHIVE_PATH")
19+
parser.add_argument("--sync", action="store_true", help="Start synchronization")
20+
parser.add_argument("--save-now", action="store_true", help="Save a configuration using UI parameters such as periodic saving folder, file name format and password for encryption.")
21+
parser.add_argument("--save-without-archive", type=str, help="Save the configuration without an archive", dest="FOLDER_PATH")
22+
parser.add_argument("--import-config", help="Import a configuration from a file (*.sd.zip or *.sd.tar.gz) or folder", type=str, dest="CFG_ARCHIVE_PATH")
2323
cmd = parser.parse_args()
2424

2525
# Run Python scripts from the listed command-line arguments
@@ -60,7 +60,7 @@ elif cmd.CFG_ARCHIVE_PATH: # import a configuration from a file, or folder
6060
elif os.path.exists(f"{file_path}/.folder.sd"):
6161
shutil.copytree(file_path, f"{CACHE}/import_config", dirs_exist_ok=True, ignore_dangling_symlinks=True)
6262
else:
63-
print("Unsupported file type. Use *.sd.tar.gz, *.sd.zip or folder which contains the \".folder.sd\" file.")
63+
print("Unsupported file type. Use *.sd.zip, *.sd.tar.gz or folder which contains the \".folder.sd\" file.")
6464
exit(1)
6565

6666
os.system(f"python3 {init_dir}/config.py --import_")

0 commit comments

Comments
 (0)