Comments (2)
i was admittedly surprised this didn't work. Some minor googling does suggest optional short options is a GNU only extension, thus something we maybe don't want to support in general.
I believe we copied this option from ls
and ls
only supports the long option. Perhaps we should just only support the long option. The long option is only documented/supported for a few commands already, so removing L
short option would support command consistency.
man1/flux-dmesg.rst:.. option:: -L, --color[=WHEN]
man1/flux-jobs.rst:.. option:: --color[=WHEN]
man1/flux-kvs.rst:.. option:: -L, --color[=WHEN]
man1/flux-kvs.rst:.. option:: -L, --color[=WHEN]
man1/flux-overlay.rst:.. option:: -L, --color=WHEN
man1/flux-top.rst:.. option:: --color[=WHEN]
perhaps need a NO_SHORT_OPTION
macro of sorts of liboptparse
. (Edit ..oh if we don't list a short option key, it appears only long option works).
Edit:
some auditing notes for myself
dmesg - liboptparse
jobs - argparse
kvs - liboptparse
overlay - liboptparse
flux-top - liboptparse
from flux-core.
I believe we copied this option from ls and ls only supports the long option.
We also copied dmesg(8)
which supports the short option:
Usage:
dmesg [options]
Display or control the kernel ring buffer.
[snip]
-H, --human human readable output
-k, --kernel display kernel messages
-L, --color[=<when>] colorize messages (auto, always or never)
colors are enabled by default
-l, --level <list> restrict output to defined levels
...
Let's keep the short option at least in utilities that are likely to be piped to less -R
, e.g. flux dmesg
, flux *eventlog
, etc.
from flux-core.
Related Issues (20)
- idea: allow compute nodes to be released by a job before the `clean` event
- avoid reissuing jobids after a crash
- feature request: submit a job to multiple queues
- content/content-sqlite: what to do on ENOSPC HOT 18
- kvs: call `content.flush` before checkpoint
- Flux not correctly binding a single GPU per task with `--gpus-per-task=1` HOT 5
- content: call `content.flush` within `content-checkout.put` HOT 5
- mismatched nodelist and node count after additional ranks added to R HOT 1
- Suggestion: change flux hostlist default behavior to read from stdin HOT 1
- config: add option for amending `Rv1` from `resource.config` with `scheduling` key from file HOT 2
- intermittent ci failure `not ok 25 - flux-uri mock testing of lsf resolver works`
- Suggestion: in flux jobs, show jobs with nodes still in housekeeping HOT 4
- content: require backing store for checkpoint put
- flux-job: flux_kvs_lookup_get: Value too large for defined data type HOT 13
- docker: can't build docker images in flux-core
- flux cannot handle very large lines HOT 1
- kvs: do not allow appends that exceed maximum allowed value size
- kvs: ensure large values exceeding maximum rejected consistently HOT 2
- kvs: define maximum size
- shell: suggest user redirect to a file if stdout large
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flux-core.