summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/lpc/cmdtab.c
diff options
context:
space:
mode:
authorGarance A Drosehn <gad@FreeBSD.org>2002-06-16 01:43:29 +0000
committerGarance A Drosehn <gad@FreeBSD.org>2002-06-16 01:43:29 +0000
commit5b1c34fbb705ccbe0872f49c24e61b2c2bd792aa (patch)
tree3e8b14a1b66555d9cd706bd0e4eb879eabf4e353 /usr.sbin/lpr/lpc/cmdtab.c
parente2e046197766606869fc76702d3ed00b17dfb45a (diff)
downloadsrc-test2-5b1c34fbb705ccbe0872f49c24e61b2c2bd792aa.tar.gz
src-test2-5b1c34fbb705ccbe0872f49c24e61b2c2bd792aa.zip
Notes
Diffstat (limited to 'usr.sbin/lpr/lpc/cmdtab.c')
-rw-r--r--usr.sbin/lpr/lpc/cmdtab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/lpr/lpc/cmdtab.c b/usr.sbin/lpr/lpc/cmdtab.c
index 570c5fbcdc3e..7664dd539adb 100644
--- a/usr.sbin/lpr/lpc/cmdtab.c
+++ b/usr.sbin/lpr/lpc/cmdtab.c
@@ -74,7 +74,7 @@ struct cmd cmdtab[] = {
{ "enable", enablehelp, PR, 0, enable_q },
{ "exit", quithelp, 0, quit, 0 },
{ "disable", disablehelp, PR, 0, disable_q },
- { "down", downhelp, PR, down, 0 },
+ { "down", downhelp, PR|M, down_gi, down_q },
{ "help", helphelp, 0, help, 0 },
{ "quit", quithelp, 0, quit, 0 },
{ "restart", restarthelp, 0, 0, restart_q },
@@ -89,6 +89,7 @@ struct cmd cmdtab[] = {
{ "xabort", aborthelp, PR, 0, doabort },
{ "xenable", enablehelp, PR, 0, enable },
{ "xdisable", disablehelp, PR, 0, disable },
+ { "xdown", downhelp, PR, down, 0 },
{ "xrestart", restarthelp, 0, 0, restart },
{ "xstart", starthelp, PR, 0, startcmd },
{ "xstop", stophelp, PR, 0, stop },