diff options
author | Sander Vrijders <[email protected]> | 2018-04-17 02:03:44 +0200 |
---|---|---|
committer | Dimitri Staessens <[email protected]> | 2018-04-17 11:47:33 +0200 |
commit | 40e29aec791295652bb0cfc3dda0a47499b71384 (patch) | |
tree | 4d73d9768a56842804592393401cd3873ca49f68 /src/tools/irm/irm_ipcp.c | |
parent | 85f51a1ae136f46cb2de5819415c2259d70d5994 (diff) | |
download | ouroboros-40e29aec791295652bb0cfc3dda0a47499b71384.tar.gz ouroboros-40e29aec791295652bb0cfc3dda0a47499b71384.zip |
tools: Fix help information for irm ipcp
The new command 'irm ipcp list' was not being printed upon printing
the usage of 'irm ipcp'. It also fixes an unchecked return value.
Signed-off-by: Sander Vrijders <[email protected]>
Signed-off-by: Dimitri Staessens <[email protected]>
Diffstat (limited to 'src/tools/irm/irm_ipcp.c')
-rw-r--r-- | src/tools/irm/irm_ipcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/irm/irm_ipcp.c b/src/tools/irm/irm_ipcp.c index 89aa4145..72e32805 100644 --- a/src/tools/irm/irm_ipcp.c +++ b/src/tools/irm/irm_ipcp.c @@ -46,7 +46,8 @@ static void usage(void) printf("Usage: irm ipcp [OPERATION]\n\n" "where OPERATION = {create destroy\n" " bootstrap enroll\n" - " connect disconnect help}\n"); + " connect disconnect\n" + " list help}\n"); } static int do_help(int argc, char **argv) |