Skip to content

Instantly share code, notes, and snippets.

@romach
Created April 2, 2017 21:50
Show Gist options
  • Save romach/7e971f44f05df14bec1b1d91b46a2c99 to your computer and use it in GitHub Desktop.
Save romach/7e971f44f05df14bec1b1d91b46a2c99 to your computer and use it in GitHub Desktop.
Create program parameter without value
parser.add_argument('-l', '--list', help='Drafts list', action='store_true')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment