Bug 85433 - help and getopt mismatch in 'free' (quickie)
help and getopt mismatch in 'free' (quickie)
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: procps (Show other bugs)
9
All Linux
medium Severity low
: ---
: ---
Assigned To: Alexander Larsson
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-03-02 12:39 EST by Matthew S. Hallacy
Modified: 2007-04-18 12:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-09-25 04:54:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Matthew S. Hallacy 2003-03-02 12:39:21 EST
From Bugzilla Helper: 
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1) 
 
Description of problem: 
usage: free [-b|-k|-m|-g] [-l] [-o] [-t] [-s delay] [-c count] [-V] 
                                        ^^ 
        -b,-k,-m,-g show output in bytes, KB, MB, or GB 
        -h show detailed low and high memory statistics 
      ^^^^ 
 
 
Version-Release number of selected component (if applicable): 
 
 
How reproducible: 
Always 
 
Steps to Reproduce: 
1. free -h 
   
 
Actual Results:  'invalid usage' 
 
Expected Results:  should have printed detailed high/low memory usage. 
 
Additional info: 
 
*** free.orig   2003-03-02 11:34:41.000000000 -0600 
--- free.c      2003-03-02 11:34:50.000000000 -0600 
*************** 
*** 33,39 **** 
                "[-b|-k|-m|-g] [-l] [-o] [-t] [-s delay] [-c count] [-V]\n", 
                cmdline); 
        fprintf(stderr,"\t-b,-k,-m,-g show output in bytes, KB, MB, or GB\n"); 
!       fprintf(stderr,"\t-h show detailed low and high memory statistics\n"); 
        fprintf(stderr,"\t-o use old format (no -/+buffers/cache line)\n"); 
        fprintf(stderr,"\t-t display total for RAM + swap\n"); 
        fprintf(stderr,"\t-s update every [delay] seconds\n"); 
--- 33,39 ---- 
                "[-b|-k|-m|-g] [-l] [-o] [-t] [-s delay] [-c count] [-V]\n", 
                cmdline); 
        fprintf(stderr,"\t-b,-k,-m,-g show output in bytes, KB, MB, or GB\n"); 
!       fprintf(stderr,"\t-l show detailed low and high memory statistics\n"); 
        fprintf(stderr,"\t-o use old format (no -/+buffers/cache line)\n"); 
        fprintf(stderr,"\t-t display total for RAM + swap\n"); 
        fprintf(stderr,"\t-s update every [delay] seconds\n"); 
 
^- diff -rc fix.
Comment 1 Matthew S. Hallacy 2003-03-02 12:40:25 EST
whoops,  
 
rpm -q procps 
procps-2.0.11-1 
 
Comment 2 Alexander Larsson 2003-03-11 08:22:37 EST
This has been fixed in procps cvs after the 2.0.11 release. We'll get it when we
import the next release.

Note You need to log in before you can comment on or make changes to this bug.