Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Issue 6812022: Correct a typo in 'cros_workon' and make the command help look nicer (Closed)

Created:
9 years, 8 months ago by thutt
Modified:
9 years, 5 months ago
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

Fix a typo in cros_workon, and make command help output nicer Details The cros_workong help text has a typographic error of 'commond' rather than 'command'. This change addresses that issue. The help text output for the list of commands was also not nicely aligned, so I've addressed that, too. Testing ~thutt/g-chroot-execute sudo emerge cros-devutils After the build & install completed, I executed: ~thutt/scripts/g-workon --help The output now looks like the following. The typo was on the 'iterate' command. usage: /usr/bin/cros_workon <command> [flags] [<list of packages>|--all] commands: start: Moves an ebuild to live (intended to support development) stop: Moves an ebuild to stable (use last known good) list: List of live ebuilds (workon ebuilds if --all) list-all: List all of the live ebuilds for all setup boards iterate: For each ebuild, cd to the source dir and run a command flags: --board: The board to set package keywords for. (default: '') --[no]host: Uses the host instead of board (default: false) --command: The command to be run by forall. (default: 'git status') --[no]all: Apply to all possible packages for the given command (default: false) -h,--[no]help: show this help (default: false) BUG=0 TEST=See above Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=ca61309

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix up copyright notice to pass precheckin validation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M host/cros_workon View 1 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
thutt
Hello Mandeep, Got a change to take a look at this trivial change to cros_workon?
9 years, 8 months ago (2011-04-07 17:22:10 UTC) #1
jrbarnette
LGTM, after one nit. I'll note that the documentation for iterate doesn't really make clear ...
9 years, 8 months ago (2011-04-07 19:59:03 UTC) #2
thutt
On 2011/04/07 19:59:03, jrbarnette wrote: > LGTM, after one nit. > > I'll note that ...
9 years, 8 months ago (2011-04-07 20:24:02 UTC) #3
Mandeep Singh Baines
LGTM thutt@chromium.org (thutt@chromium.org) wrote: > Reviewers: Mandeep Singh Baines, > > Message: > Hello Mandeep, ...
9 years, 8 months ago (2011-04-07 20:49:12 UTC) #4
jrbarnette
9 years, 8 months ago (2011-04-07 21:14:13 UTC) #5
On 2011/04/07 20:24:02, thutt wrote:
[ ... ]
> > http://codereview.chromium.org/6812022/diff/1/host/cros_workon#newcode3
> > host/cros_workon:3: # Copyright (c) 2010, 2011 The Chromium OS Authors. All
> > rights reserved.
> > I think this should be just "Copyright (c) 2011 ..."
> 
> Sadly, you're right.  This will probably still be rejected by our pre-checkin
> tests, but it's wrong.  The copyright is supposed to list each year that a
file
> is modified.  I've filed defect chromium-os:12884 regarding this.
> 
There was some discussion about this not too long ago; I believe
one of the conclusions was that the copyright header should have
the date only of the most recent modification.

At any rate, this change LGTM!

Powered by Google App Engine
This is Rietveld 408576698