diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2020-09-22 00:04:49 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2020-09-22 00:04:49 +0200 |
| commit | a2a7678518ec1db608f37f0521a3f8b61e97f868 (patch) | |
| tree | e699f93ab5836df930b50bbcb492a77302934ebd /src/helppages.h | |
| parent | 96ffb29a550451152b125f353a2107141610bc27 (diff) | |
| download | nissy-a2a7678518ec1db608f37f0521a3f8b61e97f868.tar.gz nissy-a2a7678518ec1db608f37f0521a3f8b61e97f868.zip | |
Added CO first command
Diffstat (limited to 'src/helppages.h')
| -rw-r--r-- | src/helppages.h | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/src/helppages.h b/src/helppages.h index 5ee0e4a..178de37 100644 --- a/src/helppages.h +++ b/src/helppages.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* To generate this help page, use the script makedoc.sh */ | 1 | /* To generate this help page, use the script makedoc.sh */ |
| 2 | 2 | ||
| 3 | int Npages = 21; | 3 | int Npages = 22; |
| 4 | 4 | ||
| 5 | char *helppages[][10] = { | 5 | char *helppages[][10] = { |
| 6 | 6 | ||
| @@ -67,6 +67,50 @@ Resets all saved scrambles and output sequences.\n\ | |||
| 67 | " | 67 | " |
| 68 | }, | 68 | }, |
| 69 | 69 | ||
| 70 | { "co", | ||
| 71 | "\ | ||
| 72 | \n\ | ||
| 73 | HELP PAGE FOR COMMAND co\n\ | ||
| 74 | \n\ | ||
| 75 | SYNTAX\n\ | ||
| 76 | co [OPTIONS] [MOVES|$ID|@ID]\n\ | ||
| 77 | \n\ | ||
| 78 | DESCRIPTION\n\ | ||
| 79 | Solves CO for a given scramble. A scramble can be given as last argument of the\n\ | ||
| 80 | command, or an ID of a saved scramble can be provided. If none of the two is\n\ | ||
| 81 | given, a prompt will ask the user to input a new scramble.\n\ | ||
| 82 | \n\ | ||
| 83 | OPTIONS\n\ | ||
| 84 | axis={fb,rl,ud} Specify the axis for the CO. One to three axes can be given,\n\ | ||
| 85 | comma separated, no spaces.\n\ | ||
| 86 | Default: CO on any of the three axis (omitting the option is\n\ | ||
| 87 | the same as specifying axis=fb,rl,ud).\n\ | ||
| 88 | b=N Specify a bound for the number of moves. N must be a number.\n\ | ||
| 89 | Default value: 20.\n\ | ||
| 90 | h Show hidden COs.\n\ | ||
| 91 | Default, if an CO ending in e.g. F is shown, the equivalent\n\ | ||
| 92 | one ending in F' is hidden.\n\ | ||
| 93 | i Ignore centers. By default the CO is aligned with centers.\n\ | ||
| 94 | niss Use NISS.\n\ | ||
| 95 | Default: does not use NISS.\n\ | ||
| 96 | n=N Specify a maximum number of COs to be output. N must be a\n\ | ||
| 97 | number.\n\ | ||
| 98 | Default value: 1.\n\ | ||
| 99 | \n\ | ||
| 100 | EXAMPLES\n\ | ||
| 101 | co axis=fb $1\n\ | ||
| 102 | Finds one optimal CO on fb for the first saved scramble.\n\ | ||
| 103 | \n\ | ||
| 104 | co n=5 b=4 U R F \n\ | ||
| 105 | Finds up to 5 COs of length at most 4 for scramble U R F.\n\ | ||
| 106 | \n\ | ||
| 107 | co n=100 b=5 niss axis=fb,ud h R' U' F L R'U'F\n\ | ||
| 108 | Finds up to 100 COs of lenth at most 4, possibly using NISS, including\n\ | ||
| 109 | \"hidden\" COs, excluding the rl axis.\n\ | ||
| 110 | \n\ | ||
| 111 | " | ||
| 112 | }, | ||
| 113 | |||
| 70 | { "dr", | 114 | { "dr", |
| 71 | "\ | 115 | "\ |
| 72 | \n\ | 116 | \n\ |
