From: W. Trevor King Date: Sun, 15 Aug 2010 12:02:23 +0000 (-0400) Subject: Updated tutorial's new_playlist call for new PlaylistAddingCommand syntax X-Git-Url: http://git.tremily.us/?p=hooke.git;a=commitdiff_plain;h=bf7625de789143f7eb0a865c1d70157e79fe743e Updated tutorial's new_playlist call for new PlaylistAddingCommand syntax --- diff --git a/doc/tutorial.txt b/doc/tutorial.txt index 4345c91..6bba6cb 100644 --- a/doc/tutorial.txt +++ b/doc/tutorial.txt @@ -123,7 +123,7 @@ You can list the files in the directory using ``ls`` or ``dir`` Now you are ready to generate the playlist. First, create a blank playlist:: - hooke> new_playlist --name mylist + hooke> new_playlist --output_playlist mylist Ensure that the new playlist is active:: @@ -134,7 +134,8 @@ Ensure that the new playlist is active:: The ``--`` in the ``jump_to_playlist`` command lets ``jump_to_playlist`` know that ``-1`` is an argument and not an option. Using the bare ``--`` is a POSIX specification [#POSIX]_ -supported by the `optparse module`_. +supported by the `optparse module`_. You don't need to jump if +the new playlist is your only loaded playlist. .. _optparse module: http://docs.python.org/library/optparse.html#callback-example-6-variable-arguments