On Sun, 06.07.14 22:28, Michael Biebl ([email protected]) wrote: > + if (argc != 2) { > + log_error("This program requires on argument."); > + return EXIT_FAILURE; > + } > + > + escaped_name = unit_name_escape(argv[1]);
I'd prefer if we'd do this for all arguments passed. Also, as mentioned earlier, please also add a switch for undoing escaping, and even better also for simply unit_name_mangle() logic. Also, --help, man page, ... Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
