Introduction
Introduction Statistics Contact Development Disclaimer Help
Add support for a prompt given as argument. - thinglaunch - A simple command an…
git clone git://bitreich.org/thinglaunch
Log
Files
Refs
Tags
LICENSE
---
commit 3c24e44bec97808fe9489b9e58b01a18bc60a9d8
parent a0a1f790e60975939f4af0cb291abb32372c8f9e
Author: Christoph Lohmann <[email protected]>
Date: Fri, 1 Jan 2016 12:40:01 +0100
Add support for a prompt given as argument.
Diffstat:
M 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));
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.