diff --git a/NDecrypt/Options.cs b/NDecrypt/Options.cs
index 882834b..9b0be32 100644
--- a/NDecrypt/Options.cs
+++ b/NDecrypt/Options.cs
@@ -27,12 +27,12 @@ namespace NDecrypt
///
/// Enable using development keys, if available
///
- public bool Development { get; private set; }
+ public bool Development { get; private set; } = false;
///
/// Force operation by avoiding sanity checks
///
- public bool Force { get; private set; }
+ public bool Force { get; private set; } = false;
///
/// Set of input paths to use for operations
@@ -42,7 +42,13 @@ namespace NDecrypt
///
/// Output size and hashes to a companion file
///
- public bool OutputHashes { get; private set; }
+ public bool OutputHashes { get; private set; } = false;
+
+ ///
+ /// Enable overwriting of the original file
+ ///
+ /// TODO: Change this to default false when hooked up
+ public bool Overwrite { get; private set; } = true;
#endregion
@@ -136,6 +142,11 @@ namespace NDecrypt
options.Force = true;
break;
+ case "-o":
+ case "--overwrite":
+ options.Overwrite = true;
+ break;
+
default:
options.InputPaths.Add(arg);
break;
@@ -179,6 +190,7 @@ namespace NDecrypt
Console.WriteLine("-d, --development Enable using development keys, if available");
Console.WriteLine("-f, --force Force operation by avoiding sanity checks");
Console.WriteLine("--hash Output size and hashes to a companion file");
+ // Console.WriteLine("-o, --overwrite Overwrite input files instead of creating new ones"); // TODO: Print this when enabled
Console.WriteLine();
Console.WriteLine(" can be any file or folder that contains uncompressed items.");
Console.WriteLine("More than one path can be specified at a time.");