bash_completion: Fix cros autocompletion

Currently user would get '/bin/grep: Invalid range end' when trying to
autocomplete after 'cros '. This is because the '-' in the regex is
interpreted as range. Fix this by moving the - to the end of character
group.

BUG=None
TEST=manually try autocomplete 'cros '

Change-Id: I57356333be485fcd9935f98afc9152a2fa5c819e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/2328244
Tested-by: Pi-Hsun Shih <pihsun@chromium.org>
Auto-Submit: Pi-Hsun Shih <pihsun@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed