diff options
author | Jakob Unterwurzacher | 2016-10-09 18:17:04 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-10-09 18:18:14 +0200 |
commit | 495479dc66efae688895aed8902d00f0350cdea7 (patch) | |
tree | 6cf5c3dd9bbbb0fe029732766c86d5283f2e7790 /tests/normal/cli_test.go | |
parent | d3b78fea959dfb0e1c1f5079ae516303bdb9a0f8 (diff) |
main: friendlier error message on wrong number of arguments
Before:
Usage: gocryptfs [OPTIONS] CIPHERDIR MOUNTPOINT
After:
Wrong number of arguments (have 9, want 2). You passed: "-nosyslog" "." "asd" "-q" "ß" "asdf" "fg" "gh" "sdf" "asd fs\\dfg"
Usage: gocryptfs [OPTIONS] CIPHERDIR MOUNTPOINT
Diffstat (limited to 'tests/normal/cli_test.go')
0 files changed, 0 insertions, 0 deletions