Skip to content

Commit

Permalink
flux-jobs: set id.f58 as default jobid encoding
Browse files Browse the repository at this point in the history
Change the default flux-jobs output format to use id.f58 instead of
just id. This results in JOBIDs taking up less horizontal space in
the default output - 12 columns instead of 20.
  • Loading branch information
grondo committed Jul 14, 2020
1 parent 3faf5c9 commit ccb02cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/flux-jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def main():
fmt = args.format
else:
fmt = (
"{id:>18} {username:<8.8} {name:<10.10} {status_abbrev:>6.6} "
"{id.f58:>12} {username:<8.8} {name:<10.10} {status_abbrev:>6.6} "
"{ntasks:>6} {nnodes:>6h} {runtime!F:>8h} "
"{ranks:h}"
)
Expand Down

0 comments on commit ccb02cc

Please sign in to comment.