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,7 +6,7 @@ ffoo import core
6 6
 
7 7
 
8 8
 usage() {
9
-    usage_is "[-I|--include module] [--] function [args...]"
9
+    usage_is "[-I|--include module] function [args...]"
10 10
 }
11 11
 
12 12
 includes=""
@@ -28,10 +28,6 @@ while true; do
28 28
         "")
29 29
             usage
30 30
             ;;
31
-        --)
32
-            shift 1
33
-            break
34
-            ;;
35 31
         *)
36 32
             break;
37 33
             ;;