New issue
Advanced search Search tips

Issue 762541 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Sep 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

cros_workon fails to parse arguments

Project Member Reported by igorcov@chromium.org, Sep 6 2017

Issue description

~/trunk/src/scripts $ cros_workon --board=${BOARD} list --all
usage: cros_workon [-h]
                   [--log-level {fatal,critical,error,warning,notice,info,debug}]
                   [--log_format LOG_FORMAT] [--debug] [--nocolor]
                   [--board BOARD] [--host] [--remote REMOTE]
                   [--revision REVISION] [--command ITERATE_COMMAND]
                   [--workon_only] [--all]
                   {start,stop,info,list,list-all,iterate} ...
cros_workon: error: unrecognized arguments: --all

This version works:
cros_workon --all --board=${BOARD} list

I guess the requirement is to have --all before the list, but it's a regression.
 
Components: -Infra>SDK Infra>Client>ChromeOS
Passing to chromeos folks
Owner: vapier@chromium.org
vapier@, can you take a look of this? It seems that you modified that script recently.
Status: WontFix (was: Untriaged)
please see this PSA:
https://groups.google.com/a/chromium.org/d/topic/chromium-os-dev/cT0I84DsKAY/discussion

you'll need to adapt your scripts/muscle memory.

Sign in to add a comment