Provide "sd <n>" as (primary) alias of "depth <n>" for xboard conformance.
[gnushogi.git] / gnushogi / commondsp.c
index ac058ff..2839fc9 100644 (file)
@@ -1862,6 +1862,10 @@ InputCommand(char *command)
         {
             dsp->ChangeSearchDepth(sx + strlen("depth"));
         }
+        else if (strcmp(s, "sd") == 0)
+        {
+            dsp->ChangeSearchDepth(sx + strlen("sd"));
+        }
         else if (strcmp(s, "hashdepth") == 0)
         {
             dsp->ChangeHashDepth();