From 14f09dccb48e4474ba4abb29cb9c75ed10ccb16a Mon Sep 17 00:00:00 2001 From: Lenni vH Date: Wed, 14 Oct 2020 10:15:28 +0200 Subject: [PATCH] support for default flags --- src/flags.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/flags.go b/src/flags.go index 11fd68d..d74d474 100644 --- a/src/flags.go +++ b/src/flags.go @@ -92,6 +92,10 @@ func parseFlag(prefix string, flag string) { onExistingFile = 2; case "no-config": doReadConfig = false; + case "color": + initColors(true); + case "reflink": + doReflinks = 2; case "n", "no-clobber": //case "no-overwrite": onExistingFile = 0; default: