commit 3c24e44bec97808fe9489b9e58b01a18bc60a9d8 parent a0a1f790e60975939f4af0cb291abb32372c8f9e Author: Christoph Lohmann <20h@r-36.net> Date: Fri, 1 Jan 2016 12:40:01 +0100 Add support for a prompt given as argument. Diffstat:
thinglaunch.c | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/thinglaunch.c b/thinglaunch.c @@ -99,6 +99,9 @@ main(int argc, char *argv[]) usage(); break; } ARGEND; + + if (argc > 0) + prompt = argv[0]; } bzero(command, sizeof(command));