summaryrefslogtreecommitdiff
path: root/volsv
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2021-02-01 01:13:01 -0600
committerZachIR <zachir@librem.one>2021-02-01 01:13:01 -0600
commit240ea435c5bd71a6dde66fed604d7ca4279747da (patch)
tree4b009be7cc27d00da364eafd661846bb5c367cd5 /volsv
parentd44f18fa503376d450acb05113aed34f1478e89e (diff)
Add help flag
Diffstat (limited to 'volsv')
-rwxr-xr-xvolsv4
1 files changed, 0 insertions, 4 deletions
diff --git a/volsv b/volsv
index f79662b..5103c7e 100755
--- a/volsv
+++ b/volsv
@@ -1,8 +1,4 @@
#!/bin/sh
-# calculate average of two integers (for ALSA)
-average () {
- echo "$(( $(( $1 + $2 )) / 2 ))$"
-}
# print error message
printerror () {
echo "$1 is not a recognized command or flag"