Bug 110181
Summary: | btrfs-show(8) inconsistency: double dash | ||
---|---|---|---|
Product: | File System | Reporter: | moviuro+kernel |
Component: | btrfs | Assignee: | Josef Bacik (josef) |
Status: | RESOLVED CODE_FIX | ||
Severity: | enhancement | CC: | dsterba, moviuro+kernel |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | all | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
moviuro+kernel
2015-12-30 22:20:02 UTC
As the command does not take any parameters it does not parse the command line via getopt, which handles "--". Fix on the way. Patch in devel, will be released in 4.4. There are way more commands that do not understand "--". The code for that is simple and can be copied from https://github.com/kdave/btrfs-progs/commit/dc361b45aced1982485ced74cd80476811ff0fa3 if you'd like to do that. Search for all command callbacks (start with cmd_ in the cmds-*.c files) that do not use getopt. Okay, I forked the repo and will come back to you in time. Fixed in 4.4. |