[BACK]Return to sudo_usage.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / sudo

Annotation of src/usr.bin/sudo/sudo_usage.h, Revision 1.3

1.3     ! millert     1: /*
        !             2:  * Copyright (c) 2007-2009 Todd C. Miller <Todd.Miller@courtesan.com>
        !             3:  *
        !             4:  * Permission to use, copy, modify, and distribute this software for any
        !             5:  * purpose with or without fee is hereby granted, provided that the above
        !             6:  * copyright notice and this permission notice appear in all copies.
        !             7:  *
        !             8:  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
        !             9:  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
        !            10:  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
        !            11:  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
        !            12:  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
        !            13:  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
        !            14:  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
        !            15:  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
        !            16:  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
        !            17:  */
        !            18:
1.1       millert    19: #ifndef _SUDO_USAGE_H
                     20: #define _SUDO_USAGE_H
                     21:
                     22: /*
                     23:  * Usage strings for sudo.  These are here because we
                     24:  * need to be able to substitute values from configure.
                     25:  */
1.2       millert    26: #define SUDO_USAGE1 " -h | -K | -k | -L | -V"
                     27: #define SUDO_USAGE2 " -v [-AknS] [-a auth_type] [-p prompt]"
                     28: #define SUDO_USAGE3 " -l[l] [-AknS] [-a auth_type] [-g groupname|#gid] [-p prompt] [-U username] [-u username|#uid] [-g groupname|#gid] [command]"
                     29: #define SUDO_USAGE4 " [-AbEHknPS] [-a auth_type] [-C fd] [-c class|-] [-g groupname|#gid] [-p prompt] [-u username|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]"
                     30: #define SUDO_USAGE5 " -e [-AknS] [-a auth_type] [-C fd] [-c class|-] [-g groupname|#gid] [-p prompt] [-u username|#uid] file ..."
1.1       millert    31:
                     32: #endif /* _SUDO_USAGE_H */