##// END OF EJS Templates
status: make options optional (issue1481)
Alexander Solovyov -
r7684:ee3364d3 default
parent child Browse files
Show More
@@ -2748,7 +2748,7 b' def status(ui, repo, *pats, **opts):'
2748 end = opts.get('print0') and '\0' or '\n'
2748 end = opts.get('print0') and '\0' or '\n'
2749 copy = {}
2749 copy = {}
2750 states = 'modified added removed deleted unknown ignored clean'.split()
2750 states = 'modified added removed deleted unknown ignored clean'.split()
2751 show = [k for k in states if opts[k]]
2751 show = [k for k in states if opts.get(k)]
2752 if opts.get('all'):
2752 if opts.get('all'):
2753 show += ui.quiet and (states[:4] + ['clean']) or states
2753 show += ui.quiet and (states[:4] + ['clean']) or states
2754 if not show:
2754 if not show:
General Comments 0
You need to be logged in to leave comments. Login now