summaryrefslogtreecommitdiff
path: root/tools/eos-profile-tool/eos-profile-cmd-show.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-01-26 15:58:53 +0000
committerP. F. Chimento <philip.chimento@gmail.com>2018-03-21 12:14:59 -0700
commit80408632f1322a44b3094f3dfb6ee6afcdef13dc (patch)
treeb40420f6c239a906f8609ddb040d1b564d35981b /tools/eos-profile-tool/eos-profile-cmd-show.c
parent86a999c7f9807d2c369e4658d7e14a8a4257b0b5 (diff)
Programmatically generate command usage and help
This avoids having each command handle it differently.
Diffstat (limited to 'tools/eos-profile-tool/eos-profile-cmd-show.c')
-rw-r--r--tools/eos-profile-tool/eos-profile-cmd-show.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/eos-profile-tool/eos-profile-cmd-show.c b/tools/eos-profile-tool/eos-profile-cmd-show.c
index b01bd14..4867dc2 100644
--- a/tools/eos-profile-tool/eos-profile-cmd-show.c
+++ b/tools/eos-profile-tool/eos-profile-cmd-show.c
@@ -57,9 +57,7 @@ eos_profile_cmd_show_parse_args (int argc,
if (files->len == 0)
{
- g_printerr ("Usage: eos-profile show FILE [FILE...]\n");
g_ptr_array_unref (files);
-
return FALSE;
}