diff options
author | maxim <maxim@FreeBSD.org> | 2006-04-21 20:33:16 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2006-04-21 20:33:16 +0000 |
commit | 9f0fef2ee11028561e0199425e62c036a72300b7 (patch) | |
tree | f0c4d3039e1e8f8159eb571a5479be984ebc0479 /sbin/fsdb/fsdb.h | |
parent | 782918fd852836566f16c74c69a96f9d7020e38b (diff) | |
download | FreeBSD-src-9f0fef2ee11028561e0199425e62c036a72300b7.zip FreeBSD-src-9f0fef2ee11028561e0199425e62c036a72300b7.tar.gz |
o Do recrack(arguments) for commands which actually take NAME as
arguments so we do not coredump at "help foo", "back bar" and such.
o Be consistent and print argc - 1 as a command arguments number in
all cases.
PR: bin/37096
Submitted by: Joshua Goodall
MFC after: 1 month
Diffstat (limited to 'sbin/fsdb/fsdb.h')
-rw-r--r-- | sbin/fsdb/fsdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/fsdb/fsdb.h b/sbin/fsdb/fsdb.h index a739c47..abe1f47 100644 --- a/sbin/fsdb/fsdb.h +++ b/sbin/fsdb/fsdb.h @@ -48,6 +48,7 @@ struct cmdtable { unsigned int flags; #define FL_RO 0x0000 /* for symmetry */ #define FL_WR 0x0001 /* wants to write */ +#define FL_ST 0x0002 /* resplit final string if argc > maxargc */ int (*handler)(int argc, char *argv[]); }; extern union dinode *curinode; |