standardize my new options to use underscores, not dashes

This commit is contained in:
Paul Molodowitch 2013-12-29 09:17:11 -08:00
parent 5d0b09d793
commit 4e646bd474

View File

@ -610,7 +610,7 @@ class DominionTabs:
help="force all label tabs to be on the same side" help="force all label tabs to be on the same side"
" (this will be forced on if there is an uneven" " (this will be forced on if there is an uneven"
" number of cards horizontally across the page)") " number of cards horizontally across the page)")
parser.add_option("--edge-align-name",action="store_true", parser.add_option("--edge_align_name",action="store_true",
help="align the card name to the outside edge of the" help="align the card name to the outside edge of the"
" tab, so that when using tabs on alternating sides," " tab, so that when using tabs on alternating sides,"
" the name is less likely to be hidden by the tab" " the name is less likely to be hidden by the tab"
@ -622,7 +622,7 @@ class DominionTabs:
" given multiple times to show it in multiple" " given multiple times to show it in multiple"
" places; valid values are: %s; defaults to 'tab'" " places; valid values are: %s; defaults to 'tab'"
% ", ".join("'%s'" % x for x in cls.LOCATION_CHOICES)) % ", ".join("'%s'" % x for x in cls.LOCATION_CHOICES))
parser.add_option("--set-icon",action="append",type="choice", parser.add_option("--set_icon",action="append",type="choice",
choices=cls.LOCATION_CHOICES, default=[], choices=cls.LOCATION_CHOICES, default=[],
help="where to display the set icon; may be set to" help="where to display the set icon; may be set to"
" 'hide' to indicate it should not be displayed, or" " 'hide' to indicate it should not be displayed, or"