X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/863c04fa8ce2a83c22ad7a68c3b2723f742fa0ff..HEAD:/doc/disorder.1.in diff --git a/doc/disorder.1.in b/doc/disorder.1.in index afa1eaa..a5a84f9 100644 --- a/doc/disorder.1.in +++ b/doc/disorder.1.in @@ -40,10 +40,20 @@ and \fBdisorder_config\fR (5) for documentation of the configuration file. .SH OPTIONS .TP .B \-\-config \fIPATH\fR, \fB\-c \fIPATH -Set the configuration file. +Set the system configuration file. The default is +given by the +.B DISORDER_CONFIG +environment variable, defaulting to .IR pkgconfdir/config . .TP +.B \-\-user-config \fIPATH\fR, \fB\-u \fIPATH +Set the user configuration file. +THe default is given by the +.B DISORDER_USERCONFIG +environment variable, defaulting to +.IR $HOME/.disorder/passwd . +.TP .B \-\-debug\fR, \fB\-d Enable debugging. .TP @@ -152,6 +162,23 @@ Add \fITRACKS\fR to the end of the queue. .B playing Report the currently playing track. .TP +.B playlist-del \fIPLAYLIST\fR +Deletes playlist \fIPLAYLIST\fR. +.TP +.B playlist-get \fIPLAYLIST\fR +Gets the contents of playlist \fIPLAYLIST\fR. +.TP +.B playlist-set \fIPLAYLIST\fR [\fIPATH\fR] +Set the contents of playlist \fIPLAYLIST\fR. +If an absolute path name is specified then the track list is read from +that filename. +Otherwise the track list is read from standard input. +In either case, the list is terminated either by end of file or by a line +containing a single ".". +.TP +.B playlists +Lists known playlists (in no particular order). +.TP .B prefs \fITRACK\fR Display all the preferences for \fITRACK\fR. See \fBdisorder_preferences\fR (5). @@ -363,6 +390,34 @@ The README recommends using \fBjukebox\fR for this purpose but it could be different locally. .SH ENVIRONMENT .TP +.B DISORDER_CONFIG +Main configuration file to use instead of +.IR pkgconfdir/config . +Overridden by the +.B \-c +.RB ( \-\-config ) +command-line option. +.TP +.B DISORDER_HOME +Per-user configuration and state directory to use instead of +.BR $HOME/.disorder . +.TP +.B DISORDER_PRIVCONFIG +Private configuration file to use instead of +.IR pkgconfdir/config.private . +.TP +.B DISORDER_USERCONFIG +Per-user configuration file to use instead of +.BR $DISORDER_HOME/passwd . +Overridden by the +.B \-u +.RB ( \-\-user-config ) +command-line option. +.TP +.B DISORDER_USERCONFIG_SYS +System-provided per-user configuration file to use instead of +.BR $DISORDER_HOME/passwd . +.TP .B HOME The user's home directory. .TP