mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-19 05:31:23 +02:00
remove --nh flag
This commit is contained in:
parent
d4fdd94d97
commit
93fa6872c9
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue