We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40a8ee6 commit 8f8a7cfCopy full SHA for 8f8a7cf
grin.py
@@ -787,7 +787,7 @@ def get_grin_arg_parser(parser=None):
787
parser.add_argument('-L', '--files-without-matches', action='store_true',
788
dest='show_match', default=False,
789
help="show the matches with the filenames")
790
- parser.add_argument('--no-color', action='store_true', default=False,
+ parser.add_argument('--no-color', action='store_true', default=sys.platform == 'win32',
791
help="do not use colorized output [default if piping the output]")
792
parser.add_argument('--use-color', action='store_false', dest='no_color',
793
help="use colorized output [default if outputting to a terminal]")
0 commit comments