1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-11 13:50:48 -05:00

Small move.

This commit is contained in:
Dave Davenport 2015-02-19 13:44:59 +01:00
parent da8902ac88
commit 2474575a90

View file

@ -405,12 +405,9 @@ void create_pid_file ( const char *pidfile )
*/
void config_sanity_check ( int argc, char **argv )
{
if ( find_arg ( argc, argv, "-rnow" ) >= 0 ||
find_arg ( argc, argv, "-snow" ) >= 0 ||
find_arg ( argc, argv, "-now" ) >= 0 ||
find_arg ( argc, argv, "-key" ) >= 0 ||
find_arg ( argc, argv, "-skey" ) >= 0 ||
find_arg ( argc, argv, "-rkey" ) >= 0 ) {
if ( find_arg ( argc, argv, "-rnow" ) >= 0 || find_arg ( argc, argv, "-snow" ) >= 0 ||
find_arg ( argc, argv, "-now" ) >= 0 || find_arg ( argc, argv, "-key" ) >= 0 ||
find_arg ( argc, argv, "-skey" ) >= 0 || find_arg ( argc, argv, "-rkey" ) >= 0 ) {
fprintf ( stderr, "The -snow, -now, -rnow, -key, -rkey, -skey are deprecated "
"and have been removed.\n"
"Please see the manpage: %s -help for the correct syntax.", argv[0] );