btrfs-progs: subvol show: handle options by getopt
authorDavid Sterba <dsterba@suse.com>
Wed, 13 Jan 2016 14:38:28 +0000 (15:38 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 13 Jan 2016 15:43:48 +0000 (16:43 +0100)
commit0aa796cad7ed3fce9d5964646a8f1f5a142b4989
tree09826ebe4b46c6d1ff4cf9f86781179277969f6d
parentb9ec406c0fe1abb06b39eca57a1fd6b97e8e62ee
btrfs-progs: subvol show: handle options by getopt

The subvolume show command does not take any optios but at least it
should honor "--", as reported.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=110181
Reported-by: <moviuro+kernel@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-subvolume.c