summaryrefslogtreecommitdiff
path: root/src/tools/irm/irm_ipcp_disconnect.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2023-12-09 12:35:50 +0100
committerSander Vrijders <sander@ouroboros.rocks>2023-12-17 13:23:49 +0100
commitfbb9eae2c791845756e0dd9136d7becf8da03608 (patch)
treee5edb344322d5beb2656dbf50abe5120ef1496cf /src/tools/irm/irm_ipcp_disconnect.c
parent22686c1cded1d837b3e7677b7b7b7b6cc8592878 (diff)
downloadouroboros-fbb9eae2c791845756e0dd9136d7becf8da03608.tar.gz
ouroboros-fbb9eae2c791845756e0dd9136d7becf8da03608.zip
tools: Fix missing eth-dix in "irm ipcp create"
The irm ipcp create tool had the ipcpd-eth-dix missing in the help. Updated the help text where PARAM = {options list} to where PARAM in {options list} and some other small fixes. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/tools/irm/irm_ipcp_disconnect.c')
-rw-r--r--src/tools/irm/irm_ipcp_disconnect.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/irm/irm_ipcp_disconnect.c b/src/tools/irm/irm_ipcp_disconnect.c
index c591a9fe..2b54a998 100644
--- a/src/tools/irm/irm_ipcp_disconnect.c
+++ b/src/tools/irm/irm_ipcp_disconnect.c
@@ -54,19 +54,19 @@ static void usage(void)
" name <ipcp name>\n"
" dst <name of destination IPCP>\n"
" [component [COMPONENT]]\n\n"
- "where COMPONENT = {" DT " " MGMT "}\n");
+ "where COMPONENT in {" DT " " MGMT "}\n");
}
int do_disconnect_ipcp(int argc,
char ** argv)
{
- char * ipcp = NULL;
- char * dst = NULL;
- char * comp = "*";
+ char * ipcp = NULL;
+ char * dst = NULL;
+ char * comp = "*";
char * component = NULL;
struct ipcp_list_info * ipcps;
- ssize_t len = 0;
- pid_t pid = -1;
+ ssize_t len = 0;
+ pid_t pid = -1;
ssize_t i;
while (argc > 0) {