Bug 188884

Summary: --charset charset
Product: [Fedora] Fedora Reporter: Mitsuaki Masuhara <bubblebudy2000>
Component: treeAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.5.0-5.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-12-15 12:32:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150225    

Description Mitsuaki Masuhara 2006-04-13 06:45:25 UTC
Description of problem:
# tree --charset US-ASCII
tree: Invalid argument -`'.
usage: tree [-adfgilnpqrstuxACDFNS] [-H baseHREF] [-T title ] [-L level [-R]]
        [-P pattern] [-I pattern] [-o filename] [--version] [--help] [--inodes]
        [--device] [--noreport] [--nolinks] [--dirsfirst] [--charset charset]
        [<directory list>]

# tree --charset=US-ASCII
works.

Version-Release number of selected component (if applicable):
tree-1.5.0-3.2.1

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:

*** tree.c.org	Mon Aug 16 10:07:21 2004
--- tree.c	Thu Apr 13 15:07:58 2006
***************
*** 369,374 ****
--- 369,375 ----
  		}
  	      if (argv[n] != NULL)
  		charset=argv[n++];
+ 		break;
  	    }
  	  }
  	default:

Expected results:

add '--charset=charset' form in the usage message.

Additional info: