diff --git a/README.md b/README.md index f811dc8..07c1666 100644 --- a/README.md +++ b/README.md @@ -113,10 +113,10 @@ Man pages have been added. Checkout `man colorls`. ![image](https://user-images.githubusercontent.com/17109060/32149084-9eb2a416-bd25-11e7-8fb7-a9d336c6e038.png) -- Using `--nh` with `-l` : +- Using `--non-human-readable` with `-l` : - This will print the file sizes in bytes (non-human readable format) - ![image](https://user-images.githubusercontent.com/19269206/233062206-caf4e31e-dea3-4874-8b2b-eb5d494873be.png) + ![image](https://user-images.githubusercontent.com/19269206/234581461-1e1fdd90-a362-4cea-ab82-5ca360746be8.png) # Installation diff --git a/lib/colorls/flags.rb b/lib/colorls/flags.rb index 146d7ec..e36ecf1 100644 --- a/lib/colorls/flags.rb +++ b/lib/colorls/flags.rb @@ -200,7 +200,7 @@ module ColorLS long_style_options[:hard_links_count] = false end long_style_options = get_long_style_symlink_options(options, long_style_options) - options.on('--nh', '--non-human-readable', 'show file sizes in bytes only') do + options.on('--non-human-readable', 'show file sizes in bytes only') do long_style_options[:human_readable_size] = false end @opts[:long_style_options] = long_style_options