Skip to content

Commit 309794e

Browse files
authored
Typo fixes and better default values for commands
1 parent aaef21c commit 309794e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

HashifyNETCLI/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ public static int Main(string[] args)
774774

775775
if (cl.HasFlag("-cp") && cl.HasFlag("-cf"))
776776
{
777-
Logger.Warning("Detected ambiguous command line parameters of '--config-profiles' and '--config-file'. '--config-profiles' will be chosen over --config-file by default but consider using only one of them.");
777+
Logger.Warning("Detected ambiguous command line parameters of '--config-profiles' and '--config-file'. '--config-profiles' will be chosen over '--config-file' by default but consider using only one of them.");
778778
}
779779

780780
if (cl.HasFlag("-lp"))
@@ -805,7 +805,7 @@ public static int Main(string[] args)
805805
string inputScript = Stringize(cl.GetValueString("-i", null!));
806806
string inputFinalizer = Stringize(cl.GetValueString("-if", "StringToArray(Input)"));
807807
string algorithm = Stringize(cl.GetValueString("-a", null!));
808-
string outputScript = Stringize(cl.GetValueString("-o", "Print(Algorithm .. ': ' .. Result)"));
808+
string outputScript = Stringize(cl.GetValueString("-o", "Print('[' .. Algorithm .. '] ' .. Result)"));
809809
string outputFinalizer = Stringize(cl.GetValueString("-of", "Join(\", \", AsByteArray())"));
810810

811811
string configProfileQuery = cl.GetValueString("-cp", null!);

0 commit comments

Comments
 (0)