Use m/foo, p/bar instead of m:foo and p:bar. This is much friendlier
to bash completion.
ret = change_current_mood(NULL); /* always successful */
mode = PLAY_MODE_MOOD;
} else {
- if (!strncmp(arg, "p:", 2)) {
+ if (!strncmp(arg, "p/", 2)) {
ret = playlist_open(arg + 2);
mode = PLAY_MODE_PLAYLIST;
- } else if (!strncmp(arg, "m:", 2)) {
+ } else if (!strncmp(arg, "m/", 2)) {
ret = change_current_mood(arg + 2);
mode = PLAY_MODE_MOOD;
} else
#~~~~~~~~~~~~~~~~~~~~~~~~~~
"Mood or playlist to load on startup. Must be
-prefixed with either 'p:' or 'm:' to indicate
+prefixed with either 'p/' or 'm/' to indicate
whether a playlist or a mood should be
loaded. Example:
- --afs_initial_mode p:foo
+ --afs_initial_mode p/foo
loads the playlist named 'foo'."
- string typestr="aspecifier>:<name>"
+ string typestr="<specifier>/<name>"
optional
-
section "http sender"
#~~~~~~~~~~~~~~~~~~~~