diff --git a/cryptpng.go b/cryptpng.go index 19d65e5..be50737 100644 --- a/cryptpng.go +++ b/cryptpng.go @@ -41,9 +41,7 @@ var decryptImage bool func main() { encryptFlags := flag.NewFlagSet("encrypt", flag.ContinueOnError) decryptFlags := flag.NewFlagSet("decrypt", flag.ContinueOnError) - encryptFlags.StringVar(&imageFile, "img", "image.png", "The path of the png file.") encryptFlags.StringVar(&imageFile, "image", "image.png", "The path of the png file.") - decryptFlags.StringVar(&imageFile, "img", "image.png", "The path of the png file.") decryptFlags.StringVar(&imageFile, "image", "image.png", "The path of the png file.") encryptFlags.StringVar(&inputFile, "in", "input.txt","The file with the input data.") encryptFlags.StringVar(&outputFile, "out", "out.png", "The output filename for the image.")