[Headerer] More flag stuff

This commit is contained in:
Matt Nadareski
2016-09-12 15:33:34 -07:00
parent 67431e953c
commit 911da0c6f3
3 changed files with 5 additions and 5 deletions

View File

@@ -89,7 +89,7 @@ namespace SabreTools
flag = true; flag = true;
break; break;
case "-r": case "-r":
case "--replace": case "--restore":
flag = false; flag = false;
break; break;
default: default:

View File

@@ -297,8 +297,8 @@ namespace SabreTools.Helper
helptext.Add(""); helptext.Add("");
helptext.Add("Options:"); helptext.Add("Options:");
helptext.Add(" -?, -h, --help Show this help"); helptext.Add(" -?, -h, --help Show this help");
helptext.Add(" -e Detect and remove mode"); helptext.Add(" -e, --extract Detect and remove mode");
helptext.Add(" -r Restore header to file based on SHA-1"); helptext.Add(" -r, --restore Restore header to file based on SHA-1");
break; break;
case "SimpleSort": case "SimpleSort":
helptext.Add(Resources.Resources.SimpleSort_Name + " - " + Resources.Resources.SimpleSort_Desc); helptext.Add(Resources.Resources.SimpleSort_Name + " - " + Resources.Resources.SimpleSort_Desc);

View File

@@ -98,13 +98,13 @@ Options:
-?, -h, --help Show the built-in help text -?, -h, --help Show the built-in help text
Built-in to most of the programs is a basic help text Built-in to most of the programs is a basic help text
-e Enable detect and remove mode -e, --extract Enable detect and remove mode
This mode allows the user to detect, store, and remove copier headers from a file This mode allows the user to detect, store, and remove copier headers from a file
or folder of files. The headers are backed up and collated by the hash of the un- or folder of files. The headers are backed up and collated by the hash of the un-
headered file. Files are then output without the detected copier header alongside headered file. Files are then output without the detected copier header alongside
the originals with the suffix .new. No input files are altered in the process. the originals with the suffix .new. No input files are altered in the process.
-r Restore headers to file(s) -r, --restore Restore headers to file(s)
This mode uses stored copier headers and reapplies them to files if they match the This mode uses stored copier headers and reapplies them to files if they match the
included hash. More than one header can be applied to a file, so they will be out- included hash. More than one header can be applied to a file, so they will be out-
put to new files, suffixed with .newX, where X is a number. No input files are put to new files, suffixed with .newX, where X is a number. No input files are