         }
     }
 }
+

                if hasValue == false && args.count > 0 {
                    hasValue = true
                    value = args.first![...]
                }
                if hasValue == false {
                    return (false, "flag needs an argument: -\(name)")

        }

        let s = args[0]
        if s.count == 0 || s[s.startIndex] != "-" || s.count == 1 {
            return (false, "Unknown identifier: \(s)")
        }

