remove spmenu:test

This commit is contained in:
speedie 2023-05-08 11:57:39 +02:00
parent ac863b11fa
commit e163c1a906
4 changed files with 0 additions and 19 deletions

View file

@ -713,10 +713,6 @@ run `printf 'spmenu:version' | spmenu`. There are a few of these.
`spmenu:license` `spmenu:license`
: Print the spmenu license : Print the spmenu license
`spmenu:test`
: Print a test script for spmenu which tests various features. Report any
weird issues you may have.
## License ## License
spmenu is licensed under the MIT license because that's the original suckless spmenu is licensed under the MIT license because that's the original suckless

View file

@ -207,12 +207,6 @@ int parsemarkup(int index) {
fprintf(stdout, "spmenu is licensed under the MIT license. See the included LICENSE file for more information."); fprintf(stdout, "spmenu is licensed under the MIT license. See the included LICENSE file for more information.");
exit(0); exit(0);
} }
// spmenu:test
if (!strncmp("test", items[index].ex, strlen("test"))) {
int i = system("command -v spmenu_test > /dev/null && spmenu_test");
if (i||!i) exit(i);
}
} }
#if USEIMAGE #if USEIMAGE

View file

@ -773,10 +773,6 @@ Print the spmenu version
.TP .TP
\f[V]spmenu:license\f[R] \f[V]spmenu:license\f[R]
Print the spmenu license Print the spmenu license
.TP
\f[V]spmenu:test\f[R]
Print a test script for spmenu which tests various features.
Report any weird issues you may have.
.SS License .SS License
.PP .PP
spmenu is licensed under the MIT license because that\[cq]s the original spmenu is licensed under the MIT license because that\[cq]s the original

View file

@ -1022,11 +1022,6 @@ Print the spmenu version
<dd> <dd>
Print the spmenu license Print the spmenu license
</dd> </dd>
<dt><code>spmenu:test</code></dt>
<dd>
Print a test script for spmenu which tests various features. Report any
weird issues you may have.
</dd>
</dl> </dl>
<h2 id="license">License</h2> <h2 id="license">License</h2>
<p>spmenu is licensed under the MIT license because thats the original <p>spmenu is licensed under the MIT license because thats the original