lib/gli.rb in gli-0.3.1 vs lib/gli.rb in gli-1.0.0
- old
+ new
@@ -169,10 +169,10 @@
# flags and switches. After this is done, one of the following is true:
# * the sublist is empty - in this case, go again, as there might be more flags to parse
# * the sublist has a flag left in it - unknown flag; we bail
# * the sublist has a non-flag left in it - this is the command (or the start of the arguments list)
#
- # This sort does the same thing in two phases; in the first phase, the command hasn't been identified, so
+ # This sort of does the same thing in two phases; in the first phase, the command hasn't been identified, so
# we are looking for global switches and flags, ending when we get the command.
#
# Once the command has been found, we start looking for command-specific flags and switches.
# When those have been found, we know the rest of the argument list is arguments for the command
def parse_options_helper(args,global_options,command,command_options,arguments)