summaryrefslogtreecommitdiff
path: root/src/tools/irm/irm_unbind_ap.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-12-05 18:35:21 +0100
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-12-06 11:03:29 +0100
commitc17641d483279151748dc7cec8e9e44b0da11623 (patch)
tree6c00500dd93460dae01eea5fb3f5bc17e018c57e /src/tools/irm/irm_unbind_ap.c
parent1525d7b86f317ebbf19ba69b597d6ff73c71fe5e (diff)
downloadouroboros-c17641d483279151748dc7cec8e9e44b0da11623.tar.gz
ouroboros-c17641d483279151748dc7cec8e9e44b0da11623.zip
tools: Fix issues in irm bind/unbind
Fixes a segmentation fault in irm unbind api when no pid is specified and improves the help information for bind/unbind.
Diffstat (limited to 'src/tools/irm/irm_unbind_ap.c')
-rw-r--r--src/tools/irm/irm_unbind_ap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/irm/irm_unbind_ap.c b/src/tools/irm/irm_unbind_ap.c
index 8ad3d670..f3f16ee1 100644
--- a/src/tools/irm/irm_unbind_ap.c
+++ b/src/tools/irm/irm_unbind_ap.c
@@ -32,7 +32,8 @@
static void usage(void)
{
printf("Usage: irm unbind ap <ap>\n"
- " [name <name>, omit: remove all AP info]\n");
+ " [name <name> (default: remove all AP info)]"
+ "\n");
}
int do_unbind_ap(int argc, char ** argv)