chiark / gitweb /
Improve the help message for commands
[stgit] / stgit / commands / delete.py
index a003082f20e0bb92f20411befed14dde16a38538..01bea623e4dd4215642e0f1a0f6db7b6d0bf586e 100644 (file)
@@ -25,7 +25,12 @@ from stgit import stack, git
 
 
 help = 'remove the topmost or any unapplied patch'
-usage = '%prog <name>'
+usage = """%prog [options] <patch>
+
+Delete the patch passed as argument. The patch to be deleted can only
+be part of the unapplied list or be the topmost one, in the latter
+case the command also popping it from the stack. Note that the
+'delete' operation is irreversible."""
 
 options = []