diff options
author | Simon Warta <[email protected]> | 2015-12-12 00:40:40 +0100 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-12-12 00:40:40 +0100 |
commit | b457eb9fa218598dd25ccaaa62e4983871cff9bd (patch) | |
tree | 13465538b70685a77143a64ebf942de4055360a2 /src/cli/hash.cpp | |
parent | 9eaf1b166ff0e99172ccccfea5d6c04adb49b46e (diff) |
Improve some argument checks and usage messages of cli apps
See also #354
Diffstat (limited to 'src/cli/hash.cpp')
-rw-r--r-- | src/cli/hash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/hash.cpp b/src/cli/hash.cpp index 81a72ca17..9dd07d488 100644 --- a/src/cli/hash.cpp +++ b/src/cli/hash.cpp @@ -20,7 +20,7 @@ int hash(const std::vector<std::string> &args) { if(args.size() < 3) { - std::cout << "Usage: " << args[0] << " digest <filenames>" << std::endl; + std::cout << "Usage: " << args[0] << " algorithm filename [filename ...]" << std::endl; return 1; } |