Skip to content

Commit

Permalink
Display the command line option is the binary is used without arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoulon committed Jul 6, 2017
1 parent 682b2c0 commit 9410a0a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ int main(int argc, char **argv)

try
{
if (argc == 1) throw std::string("Invalid parameter.");
cmd.process(argc, argv);
}
catch(const std::string& s)
Expand Down

0 comments on commit 9410a0a

Please sign in to comment.