Remove usage of os arg in help, it's confusing for snaps
This commit is contained in:
parent
adf3def488
commit
12dc9e478d
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ var defaultDataPath = path.Join(home, ".local/share/")
|
||||||
|
|
||||||
// Command usage
|
// Command usage
|
||||||
func printUsage() {
|
func printUsage() {
|
||||||
fmt.Fprintf(os.Stderr, "Usage: %s COMMAND [ARGS...]\n", os.Args[0])
|
fmt.Fprintf(os.Stderr, "Usage: rove COMMAND [ARGS...]\n")
|
||||||
fmt.Fprintln(os.Stderr, "\nCommands")
|
fmt.Fprintln(os.Stderr, "\nCommands")
|
||||||
fmt.Fprintln(os.Stderr, "\tstatus prints the server status")
|
fmt.Fprintln(os.Stderr, "\tstatus prints the server status")
|
||||||
fmt.Fprintln(os.Stderr, "\tregister NAME registers an account and stores it (use with -name)")
|
fmt.Fprintln(os.Stderr, "\tregister NAME registers an account and stores it (use with -name)")
|
||||||
|
|
Loading…
Add table
Reference in a new issue