mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
>Number: 917
>Category: bin >Synopsis: -s option in jot is broken
This commit is contained in:
parent
b3d64ab72f
commit
e29b080f61
1 changed files with 2 additions and 2 deletions
|
|
@ -140,11 +140,11 @@ getargs(ac, av)
|
|||
break;
|
||||
case 's':
|
||||
if ((*av)[2])
|
||||
strcpy(sepstring, *av + 2);
|
||||
sepstring = *av + 2;
|
||||
else if (!--ac)
|
||||
error("Need string after -s", "");
|
||||
else
|
||||
strcpy(sepstring, *++av);
|
||||
sepstring = *++av;
|
||||
break;
|
||||
case 'p':
|
||||
if ((*av)[2])
|
||||
|
|
|
|||
Loading…
Reference in a new issue