Skip to content

Commit ea42d56

Browse files
Set defaults doesn't "work" unless we exit() after. Addresses #413
1 parent 15c702b commit ea42d56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

diff-so-fancy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ if (!$has_stdin) {
7373
die(version());
7474
} elsif ($args->{'set-defaults'}) {
7575
my $ok = set_defaults();
76+
exit;
7677
} elsif ($args->{colors}) {
7778
# We print this to STDOUT so we can redirect to bash to auto-set the colors
7879
print get_default_colors();

0 commit comments

Comments
 (0)