smock: add --help/--man to manpage/help
authorTill Maas <opensource@till.name>
Fri, 12 Feb 2010 15:26:28 +0000 (16:26 +0100)
committerRichard Jones <rjones@redhat.com>
Fri, 12 Feb 2010 15:59:58 +0000 (15:59 +0000)
smock/smock.pl

index fc7c998..dc12440 100755 (executable)
@@ -102,6 +102,10 @@ You can list this option several times to build several distributions.
 Don't run any commands, just print the packages in the order
 in which they must be built.
 
 Don't run any commands, just print the packages in the order
 in which they must be built.
 
+=item B<--help>
+
+Print this help.
+
 =item B<--keepgoing>
 
 Don't exit if a package fails, but keep building.
 =item B<--keepgoing>
 
 Don't exit if a package fails, but keep building.
@@ -116,6 +120,10 @@ However, it is very useful.
 
 Local repository.  Defaults to C<$HOME/public_html/smock/yum>
 
 
 Local repository.  Defaults to C<$HOME/public_html/smock/yum>
 
+=item B<--man>
+
+Show this help using man.
+
 =item B<--suffix>
 
 Append a suffix to the mock configuration file in order to use
 =item B<--suffix>
 
 Append a suffix to the mock configuration file in order to use