xref: /freebsd/usr.sbin/bsdconfig/USAGE (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1641a6cfbSDevin Teske# Copyright (c) 2012 Ron McDowell
231a41563SDevin Teske# Copyright (c) 2012-2013 Devin Teske
3f8ea072aSDevin Teske# All rights reserved.
4641a6cfbSDevin Teske#
5641a6cfbSDevin Teske# Redistribution and use in source and binary forms, with or without
6641a6cfbSDevin Teske# modification, are permitted provided that the following conditions
7641a6cfbSDevin Teske# are met:
8641a6cfbSDevin Teske# 1. Redistributions of source code must retain the above copyright
9641a6cfbSDevin Teske#    notice, this list of conditions and the following disclaimer.
10641a6cfbSDevin Teske# 2. Redistributions in binary form must reproduce the above copyright
11641a6cfbSDevin Teske#    notice, this list of conditions and the following disclaimer in the
12641a6cfbSDevin Teske#    documentation and/or other materials provided with the distribution.
13641a6cfbSDevin Teske#
14641a6cfbSDevin Teske# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15*8e37a7c8SDevin Teske# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16641a6cfbSDevin Teske# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17641a6cfbSDevin Teske# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18641a6cfbSDevin Teske# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19*8e37a7c8SDevin Teske# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20641a6cfbSDevin Teske# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21641a6cfbSDevin Teske# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22641a6cfbSDevin Teske# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23641a6cfbSDevin Teske# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24641a6cfbSDevin Teske# SUCH DAMAGE.
25641a6cfbSDevin Teske#
26641a6cfbSDevin Teske
27641a6cfbSDevin TeskeUsage:
28641a6cfbSDevin Teske	@PROGRAM_NAME@ [-h]
29641a6cfbSDevin Teske	@PROGRAM_NAME@ command [-h]
30641a6cfbSDevin Teske	@PROGRAM_NAME@ [OPTIONS] [command [OPTIONS]]
31641a6cfbSDevin Teske
32641a6cfbSDevin TeskeOPTIONS:
33e14ddd1fSDevin Teske	-d         Provide lots of debugging info on standard-out when running.
34e14ddd1fSDevin Teske	-D file    Send debugging info to file. If file begins with a plus-sign
35e14ddd1fSDevin Teske	           debug info is sent to both standard-out and file (minus the
36e14ddd1fSDevin Teske	           leading plus).
3799bc932eSDevin Teske	-f file    Load file as script and then exit. If multiple occurrences,
3899bc932eSDevin Teske	           program will only exit after last occurrence. If file is a
3999bc932eSDevin Teske	           single dash (`-'), @PROGRAM_NAME@ reads from standard input.
40e14ddd1fSDevin Teske	-h         Print this usage statement and exit.
41641a6cfbSDevin Teske	-S         Secure X11 mode (implies `-X'). As root, always prompt-for
42641a6cfbSDevin Teske	           and validate sudo(8) username/password before starting.
43641a6cfbSDevin Teske	-X         Use Xdialog(1) in place of dialog(1).
44641a6cfbSDevin Teske
45641a6cfbSDevin TeskeCOMMANDS:
46641a6cfbSDevin Teske@COMMAND_LIST@
47