Browse Source

Remove '--' argument

Since functions cannot start with '-' (and funky names are discouraged
anyway), it only adds more complexity to the arg router.
Alois Mahdal 10 years ago
parent
commit
429722b039
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      bin/fff

+ 1
- 5
bin/fff View File

6
 
6
 
7
 
7
 
8
 usage() {
8
 usage() {
9
-    usage_is "[-I|--include module] [--] function [args...]"
9
+    usage_is "[-I|--include module] function [args...]"
10
 }
10
 }
11
 
11
 
12
 includes=""
12
 includes=""
28
         "")
28
         "")
29
             usage
29
             usage
30
             ;;
30
             ;;
31
-        --)
32
-            shift 1
33
-            break
34
-            ;;
35
         *)
31
         *)
36
             break;
32
             break;
37
             ;;
33
             ;;