示例#1
0
文件: aa-sync.c 项目: jjk-jacky/anopa
static void
dieusage (int rc)
{
    aa_die_usage (rc, "[OPTION]",
            " -h, --help                    Show this help screen and exit\n"
            " -V, --version                 Show version information and exit\n"
            );
}
示例#2
0
文件: aa-ctty.c 项目: linsam/anopa
static void
dieusage (int rc)
{
    aa_die_usage (rc, "[OPTION...] PROG...",
            " -D, --double-output           Enable double-output mode\n"
            " -f, --fd=FD                   Use FD as terminal (Default: 0)\n"
            " -s, --steal                   Steal terminal from other session if needed\n"
            " -h, --help                    Show this help screen and exit\n"
            " -V, --version                 Show version information and exit\n"
            );
}
示例#3
0
static void
dieusage (int rc)
{
    aa_die_usage (rc, "OPTION",
            " -D, --double-output           Enable double-output mode\n"
            " -r, --reboot                  Reboot the machine NOW\n"
            " -H, --halt                    Halt the machine NOW\n"
            " -p, --poweroff                Power off the machine NOW\n"
            " -h, --help                    Show this help screen and exit\n"
            " -V, --version                 Show version information and exit\n"
            );
}
示例#4
0
static void
dieusage (int rc)
{
    aa_die_usage (rc, "[OPTION...]",
            " -D, --double-output           Enable double-output mode\n"
            " -v, --verbose                 Show what was done\n"
            " -q, --quiet                   No warnings for what's left\n"
            " -l, --lazy-umounts            Try lazy umount as last resort\n"
            " -a, --apis                    Umount /run, /sys, /proc & /dev too\n"
            " -h, --help                    Show this help screen and exit\n"
            " -V, --version                 Show version information and exit\n"
            );
}
示例#5
0
文件: aa-reset.c 项目: linsam/anopa
static void
dieusage (int rc)
{
    aa_die_usage (rc, "[OPTION...] [service...]",
            " -D, --double-output           Enable double-output mode\n"
            " -r, --repodir DIR             Use DIR as repository directory\n"
            " -A, --auto                    Automatic mode\n"
            " -a, --started                 Reset to Started\n"
            " -o, --stopped                 Reset to Stopped\n"
            " -h, --help                    Show this help screen and exit\n"
            " -V, --version                 Show version information and exit\n"
            );
}
示例#6
0
文件: aa-kill.c 项目: linsam/anopa
static void
dieusage (int rc)
{
    aa_die_usage (rc, "[OPTION...]",
            " -D, --double-output           Enable double-output mode\n"
            " -u, --hup                     Send SIGHUP\n"
            " -t, --term                    Send SIGTERM then SIGCONT\n"
            " -k, --kill                    Send SIGKILL\n"
            " -s, --skip-at                 Skip processes whose cmdline starts with '@'\n"
            " -h, --help                    Show this help screen and exit\n"
            " -V, --version                 Show version information and exit\n"
            );
}
示例#7
0
static void
dieusage (int rc)
{
    aa_die_usage (rc, "[OPTION...] [service...]",
            " -D, --double-output           Enable double-output mode\n"
            " -r, --repodir DIR             Use DIR as repository directory\n"
            " -l, --listdir DIR             Use DIR to list services to start\n"
            " -W, --no-wants                Don't auto-start services from 'wants'\n"
            " -t, --timeout SECS            Use SECS seconds as default timeout\n"
            " -n, --dry-list                Only show service names (don't start anything)\n"
            " -v, --verbose                 Print auto-added dependencies\n"
            " -h, --help                    Show this help screen and exit\n"
            " -V, --version                 Show version information and exit\n"
            );
}