From 795a08dbc0172a49dc18c975bebd3143d1a4565f Mon Sep 17 00:00:00 2001 From: Eric Oden Date: Thu, 31 Oct 2013 14:54:08 -0500 Subject: [PATCH 1/2] Implement #185 --- CommandVessel.cs | 13 +++++++++++++ README.md | 7 +++++++ 2 files changed, 20 insertions(+) diff --git a/CommandVessel.cs b/CommandVessel.cs index f3e072c..39a67be 100644 --- a/CommandVessel.cs +++ b/CommandVessel.cs @@ -21,6 +21,19 @@ public override void Evaluate() } } + [CommandAttribute("QUICKSAVE")] + class CommandVesselQuickSave : Command + { + public CommandVesselQuickSave(Match regexMatch, ExecutionContext context) : base(regexMatch, context) { } + + public override void Evaluate() + { + QuickSaveLoad.QuickSave(); + + State = ExecutionState.DONE; + } + } + [CommandAttribute("ADD *")] public class CommandAddObjectToVessel : Command { diff --git a/README.md b/README.md index b95e608..35d2cab 100644 --- a/README.md +++ b/README.md @@ -196,6 +196,13 @@ Example: LOG 4+1 to mylog . LOG “4 times 8 is: “ + (4*8) to mylog. +### QUICKSAVE + +Renames a file or volume. +Example: + + QUICKSAVE. + ### RENAME Renames a file or volume. From 5dd8422ab47b80f7239feeecf656bf0d11819c6e Mon Sep 17 00:00:00 2001 From: Eric Oden Date: Thu, 31 Oct 2013 15:10:24 -0500 Subject: [PATCH 2/2] Forgot to change copied text. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 35d2cab..4c27366 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,7 @@ Example: ### QUICKSAVE -Renames a file or volume. +Quicksaves. Example: QUICKSAVE.