juju status --watch default to seconds

Bug #1987008 reported by Haw Loeung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Wishlist
Vitaly Antonenko

Bug Description

Hi,

If no unit of time is given, can the default be in seconds? e.g. Currently:

| juju status --watch 2
| ERROR invalid value "2" for option --watch: time: missing unit in duration "2"

Can that be 2s / 2 seconds? One less thing to type.

This lines up with other tools such as `watch`, `iostat`, `nicstat`, `mtr`, etc.

Haw Loeung (hloeung)
Changed in juju:
importance: Undecided → Wishlist
description: updated
Changed in juju:
milestone: none → 2.9.34
milestone: 2.9.34 → 3.0.1
Changed in juju:
status: New → Triaged
Revision history for this message
Vitaly Antonenko (anvial) wrote :

We redeveloped --watch for `juju status` for 3.0. So, on develop branch, this issue is solved.
Please, check and provide feedback.

Changed in juju:
assignee: nobody → Vitaly Antonenko (anvial)
status: Triaged → Fix Committed
Changed in juju:
milestone: 3.0.1 → 3.0.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.