Introduction
Introduction Statistics Contact Development Disclaimer Help
Hardcode the name in simevent usage - smdev - suckless mdev
git clone git://git.suckless.org/smdev
Log
Files
Refs
README
LICENSE
---
commit 0874cdcfbe0b1d1f3d3d0fa52d226bb6c4c46482
parent f8534bbc2f38111b8756c91c6f41ccd557dec2a1
Author: sin <[email protected]>
Date: Sat, 28 Feb 2015 07:30:21 +0000
Hardcode the name in simevent usage
Diffstat:
M bin/simevent | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/bin/simevent b/bin/simevent
@@ -4,9 +4,7 @@
# into the uevent files.
if [ "$#" -ne 1 ] || [ "$1" != add ] && [ "$1" != remove ]; then
- # warning: can't trust $0, better off just hard coding the name
- # echo "usage: simevent add|remove" 1>&2
- printf "usage: %s add|remove\n" "${0##*/}" 1>&2
+ echo "usage: simevent add|remove" 1>&2
exit 1
fi
You are viewing proxied material from suckless.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.