Skip to content

Commit

Permalink
Updated help and readme regarding using a regular expression as the v…
Browse files Browse the repository at this point in the history
…alue for the --images argument.
  • Loading branch information
AndrewEC committed May 29, 2017
1 parent cae1e97 commit 7202613
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ Example arguments for decoding data from a set of images to an output file.
--images :: A comma delimited list of paths to images to be either encoded or decoded
The order of the images affects the encoding and decoding results.
This parameter will also accept a regular expression to fine images.
A regex value will appear in the format [r]<regex><directory>
Example: --images=[r]<^.*\\.(png)><.> looks for all png files in the current directory.
--passsword :: The password to encrypt the input file when 'encode' was specified in the action argument.
Expand Down
3 changes: 3 additions & 0 deletions SteganographyApp.Calculator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ private static void PrintHelp()
Console.WriteLine("\t--input or -i :: The path to the file to encode if 'encode' was specified in the action argument.");
Console.WriteLine("\t--images or -im :: A comma delimited list of paths to images to be either encoded or decoded");
Console.WriteLine("\t\tThe order of the images affects the encoding and decoding results.");
Console.WriteLine("\t\tThis parameter will also accept a regular expression to fine images.");
Console.WriteLine("\t\t\tA regex value will appear in the format [r]<regex><directory>");
Console.WriteLine("\t\t\tExample: --images=[r]<^.*\\.(png)><.> looks for all png files in the current directory.");
Console.WriteLine("\t--passsword or -p :: The password to encrypt the input file when 'encode' was specified in the action argument.");
Console.WriteLine("\t--chunkSize :: Specifies the number of bytes to read in each read, encode, and store operation.");
Console.WriteLine("\t\tValue needs to be a positive whole number.");
Expand Down
3 changes: 3 additions & 0 deletions SteganographyApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ static void PrintHelp()
Console.WriteLine("\t--output :: The path to the output file when 'decode' was specified in the action argument.");
Console.WriteLine("\t--images :: A comma delimited list of paths to images to be either encoded or decoded");
Console.WriteLine("\t\tThe order of the images affects the encoding and decoding results.");
Console.WriteLine("\t\tThis parameter will also accept a regular expression to fine images.");
Console.WriteLine("\t\t\tA regex value will appear in the format [r]<regex><directory>");
Console.WriteLine("\t\t\tExample: --images=[r]<^.*\\.(png)><.> looks for all png files in the current directory.");
Console.WriteLine("\t--passsword :: The password to encrypt the input file when 'encode' was specified in the action argument.");
Console.WriteLine("\t--printStack :: Specifies whether or not to print the full stack trace if an error occurs.");
Console.WriteLine("\t\tValue must either be 'true' or 'false'");
Expand Down

0 comments on commit 7202613

Please sign in to comment.