[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
df usage (was: bug)
From: |
Eric Blake |
Subject: |
df usage (was: bug) |
Date: |
Sat, 13 Dec 2008 09:24:04 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18) Gecko/20081105 Thunderbird/2.0.0.18 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[Please use a more descriptive subject line]
According to punk on 12/13/2008 5:23 AM:
> /dev/sda5 65G 43G 22G 67% /media/disk-1
> address@hidden:~$ df -h --h
> df: option '--h' is ambiguous
This is the correct behavior. Look at what you printed next:
> address@hidden:~$ df -h --help
...
> -h, --human-readable 以容易理解的格式印出文件系统大小 (例如 1K 234M
...
> --help 显示此帮助信息并离开
The getopt parser can't decide whether to treat --h as short for '--help'
or '--human-readable', so it errors out instead. This is not a bug in df,
but in your usage pattern.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAklD4aQACgkQ84KuGfSFAYBl4ACbBOXT73JPaNxE6b8I9qcwaVqt
DDIAoLmsyl9QBA3ZzmFJXNO6cB/OShJY
=vXrq
-----END PGP SIGNATURE-----
- bug, punk, 2008/12/13
- Re: bug, Philip Rowlands, 2008/12/13
- df usage (was: bug),
Eric Blake <=