equo --nocolor disappeared. [Solved]

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

equo --nocolor disappeared. [Solved]

Postby nobicycle » Sun Nov 18, 2012 3:54

Hi,
Where has the --nocolor option gone in equo?

http://wiki.sabayon.org/index.php?title=En:List_Of_Equo_Functions#--nocolor

Code: Select all
equo search --nocolor sys-kernel/linux-sabayon
usage: equo search [-h] [--quiet] [--verbose] [--installed | --available]
                   <string> [<string> ...]
equo search: error: unrecognized arguments: --nocolor
Last edited by nobicycle on Sun Nov 18, 2012 11:23, edited 1 time in total.
nobicycle
Simple Hen
 
Posts: 77
Joined: Fri Nov 20, 2009 13:55

Re: equo --nocolor disappeared.

Postby sabayonino » Sun Nov 18, 2012 7:26

Code: Select all
# equo --help


could help you :mrgreen:
User avatar
sabayonino
Sagely Hen
 
Posts: 2440
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: equo --nocolor disappeared.

Postby nobicycle » Sun Nov 18, 2012 8:06

Thanks for the suggestion. :-)
However, unchanged scripts fail because the option is no longer available.
As in my example above:
Code: Select all
equo search [-h] [--quiet] [--verbose] [--installed | --available]


--nocolor is disappeared
nobicycle
Simple Hen
 
Posts: 77
Joined: Fri Nov 20, 2009 13:55

Re: equo --nocolor disappeared.

Postby sabayonino » Sun Nov 18, 2012 8:27

uhm . latest equo changes seems to have new features and clear other

Code: Select all
# equo --help

Code: Select all
# man equo

if you need for this dropped features you can file a bug
User avatar
sabayonino
Sagely Hen
 
Posts: 2440
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: equo --nocolor disappeared.

Postby nobicycle » Sun Nov 18, 2012 11:22

I just changed my scripts and piped the relevant data through sed s/\x1B\[[0-9;]*[JKmsu]//g' to get rid of colour codes.
I suppose this is rigo "less is more" philosophy carried to equo, who's api probably feeds rigo.
No worries.
nobicycle
Simple Hen
 
Posts: 77
Joined: Fri Nov 20, 2009 13:55


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests