Improve CLI help

This commit is contained in:
Martchus 2018-01-28 18:07:00 +01:00
parent 26c8af598e
commit eb1ec29992
1 changed files with 7 additions and 7 deletions

View File

@ -12,19 +12,19 @@ Args::Args()
, restart("restart", '\0', "restarts Syncthing")
, rescan("rescan", 'r', "rescans the specified directories")
, rescanAll("rescan-all", '\0', "rescans all directories")
, pause("pause", '\0', "pauses the specified devices")
, resume("resume", '\0', "resumes the specified devices")
, pause("pause", '\0', "pauses the specified directories and devices")
, resume("resume", '\0', "resumes the specified directories and devices")
, waitForIdle("wait-for-idle", 'w', "waits until the specified dirs/devs are idling")
, pwd("pwd", 'p', "operates in the current working directory")
, statusPwd("status", 's', "prints the status of the current working directory")
, rescanPwd("rescan", 'r', "rescans the current working directory")
, pausePwd("pause", 'p', "pauses the current working directory")
, resumePwd("resume", '\0', "resumes the current working directory")
, dir("dir", 'd', "specifies a directory", { "ID" })
, dev("dev", '\0', "specifies a device", { "ID" })
, allDirs("all-dirs", '\0', "apply operation for all directories")
, allDevs("all-devs", '\0', "apply operation for all devices")
, atLeast("at-least", 'a', "specifies for how many milliseconds Syncthing must idle (prevents exiting to early in case of flaky status)",
, dir("dir", 'd', "specifies a directory by ID", { "ID" })
, dev("dev", '\0', "specifies a device by ID or name", { "ID/name" })
, allDirs("all-dirs", '\0', "applies the operation for all directories")
, allDevs("all-devs", '\0', "applies the operation for all devices")
, atLeast("at-least", 'a', "specifies for how many milliseconds Syncthing must idle (prevents exiting too early in case of flaky status)",
{ "number" })
, timeout("timeout", 't', "specifies how many milliseconds to wait at most", { "number" })
, configFile("config-file", 'f', "specifies the Syncthing config file to read API key and URL from, when not explicitely specified", { "path" })