summaryrefslogtreecommitdiffstats
path: root/sbin/fsdb/fsdb.h
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2006-04-21 20:33:16 +0000
committermaxim <maxim@FreeBSD.org>2006-04-21 20:33:16 +0000
commit9f0fef2ee11028561e0199425e62c036a72300b7 (patch)
treef0c4d3039e1e8f8159eb571a5479be984ebc0479 /sbin/fsdb/fsdb.h
parent782918fd852836566f16c74c69a96f9d7020e38b (diff)
downloadFreeBSD-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.h1
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;
OpenPOWER on IntegriCloud