summaryrefslogtreecommitdiffstats
path: root/polyp
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-11-21 19:47:47 +0000
committerLennart Poettering <lennart@poettering.net>2004-11-21 19:47:47 +0000
commit2fb83d13f27214476f90fe619b26f5bbc8f520c8 (patch)
tree0d9125f8a1da690a4d9c6ab498551b8b43cbd1b0 /polyp
parent82a362655446fdce8dd3d99d0ce41dd6aa328a16 (diff)
* make --help fit in 80 columns terminal
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@308 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp')
-rw-r--r--polyp/cmdline.c29
1 files changed, 21 insertions, 8 deletions
diff --git a/polyp/cmdline.c b/polyp/cmdline.c
index cdf25638..e11d8aad 100644
--- a/polyp/cmdline.c
+++ b/polyp/cmdline.c
@@ -91,6 +91,7 @@ void pa_cmdline_help(const char *argv0) {
e = argv0;
printf("%s [options]\n\n"
+ "COMMANDS:\n"
" -h, --help Show this help\n"
" --version Show version\n"
" --dump-conf Dump default configuration\n"
@@ -98,22 +99,34 @@ void pa_cmdline_help(const char *argv0) {
" -k --kill Kill a running daemon\n"
" --check Check for a running daemon\n\n"
+ "OPTIONS:\n"
" -D, --daemonize[=BOOL] Daemonize after startup\n"
" --fail[=BOOL] Quit when startup fails\n"
" --verbose[=BOOL] Be slightly more verbose\n"
- " --high-priority[=BOOL] Try to set high process priority (only available as root)\n"
+ " --high-priority[=BOOL] Try to set high process priority\n"
+ " (only available as root)\n"
" --disallow-module-loading[=BOOL] Disallow module loading after startup\n"
- " --exit-idle-time=SECS Terminate the daemon when idle and this time passed\n"
- " --module-idle-time=SECS Unload autoloaded modules when idle and this time passed\n"
- " --scache-idle-time=SECS Unload autoloaded samples when idle and this time passed\n"
+ " --exit-idle-time=SECS Terminate the daemon when idle and this\n"
+ " time passed\n"
+ " --module-idle-time=SECS Unload autoloaded modules when idle and\n"
+ " this time passed\n"
+ " --scache-idle-time=SECS Unload autoloaded samples when idle and\n"
+ " this time passed\n"
" --log-target={auto,syslog,stderr} Specify the log target\n"
- " -p, --dl-search-path=PATH Set the search path for dynamic shared objects (plugins)\n"
+ " -p, --dl-search-path=PATH Set the search path for dynamic shared\n"
+ " objects (plugins)\n"
" --resample-method=[METHOD] Use the specified resampling method\n"
+ " (one of src-sinc-medium-quality,\n"
+ " src-sinc-best-quality,src-sinc-fastest\n"
+ " src-zero-order-hold,src-linear,trivial)\n"
" --use-pid-file[=BOOL] Create a PID file\n\n"
-
- " -L, --load=\"MODULE ARGUMENTS\" Load the specified plugin module with the specified argument\n"
+
+ "STARTUP SCRIPT:\n"
+ " -L, --load=\"MODULE ARGUMENTS\" Load the specified plugin module with\n"
+ " the specified argument\n"
" -F, --file=FILENAME Run the specified script\n"
- " -C Open a command line on the running TTY after startup\n\n"
+ " -C Open a command line on the running TTY\n"
+ " after startup\n\n"
" -n Don't load default script file\n", e);
}