Skip to content

Commit

Permalink
Fixed --help text
Browse files Browse the repository at this point in the history
  • Loading branch information
rstacruz committed Oct 15, 2009
1 parent 6f969fb commit 5d528a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions TextMate/Sparkup.tmbundle/Support/sparkup
Expand Up @@ -511,7 +511,7 @@ class Router:
for short, long, info in self.options.cmdline_keys:
if "Deprecated" in info: continue
if not short == '': short = '-%s,' % short
if not long == '': long = '--%s' % long.replace(":", " #")
if not long == '': long = '--%s' % long.replace("=", "=XXX")

print "%6s %-25s %s" % (short, long, info)
print ""
Expand Down Expand Up @@ -619,7 +619,7 @@ class Options:
('', 'no-guides', 'Deprecated'),
('', 'post-tag-guides', 'Adds comments at the end of DIV tags'),
('', 'textmate', 'Adds snippet info (textmate mode)'),
('', 'indent-spaces:', 'Indent spaces'),
('', 'indent-spaces=', 'Indent spaces'),
('', 'expand-divs', 'Automatically expand divs'),
('', 'no-last-newline', 'Skip the trailing newline'),
('', 'start-guide-format=', 'To be documented'),
Expand Down
4 changes: 2 additions & 2 deletions sparkup
Expand Up @@ -511,7 +511,7 @@ class Router:
for short, long, info in self.options.cmdline_keys:
if "Deprecated" in info: continue
if not short == '': short = '-%s,' % short
if not long == '': long = '--%s' % long.replace(":", " #")
if not long == '': long = '--%s' % long.replace("=", "=XXX")

print "%6s %-25s %s" % (short, long, info)
print ""
Expand Down Expand Up @@ -619,7 +619,7 @@ class Options:
('', 'no-guides', 'Deprecated'),
('', 'post-tag-guides', 'Adds comments at the end of DIV tags'),
('', 'textmate', 'Adds snippet info (textmate mode)'),
('', 'indent-spaces:', 'Indent spaces'),
('', 'indent-spaces=', 'Indent spaces'),
('', 'expand-divs', 'Automatically expand divs'),
('', 'no-last-newline', 'Skip the trailing newline'),
('', 'start-guide-format=', 'To be documented'),
Expand Down

0 comments on commit 5d528a1

Please sign in to comment.