4297 ::help tab completion
4298 ::printf tab completion
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Approved by: Eric Schrock <eric.schrock@delphix.com>
diff --git a/usr/src/cmd/mdb/common/mdb/mdb_help.h b/usr/src/cmd/mdb/common/mdb/mdb_help.h
index 3c086e4..5d63683 100644
--- a/usr/src/cmd/mdb/common/mdb/mdb_help.h
+++ b/usr/src/cmd/mdb/common/mdb/mdb_help.h
@@ -22,12 +22,13 @@
/*
* Copyright (c) 1998-1999 by Sun Microsystems, Inc.
* All rights reserved.
+ * Copyright (c) 2012, Joyent, Inc. All rights reserved.
*/
#ifndef _MDB_HELP_H
#define _MDB_HELP_H
-#pragma ident "%Z%%M% %I% %E% SMI"
+#include <mdb/mdb_tab.h>
#ifdef __cplusplus
extern "C" {
@@ -40,6 +41,7 @@
extern int cmd_walkers(uintptr_t, uint_t, int, const mdb_arg_t *);
extern int cmd_formats(uintptr_t, uint_t, int, const mdb_arg_t *);
extern int cmd_help(uintptr_t, uint_t, int, const mdb_arg_t *);
+extern int cmd_help_tab(mdb_tab_cookie_t *, uint_t, int, const mdb_arg_t *);
extern int cmd_which(uintptr_t, uint_t, int, const mdb_arg_t *);
#endif /* _MDB */