[katello-devel] Usability Question: cli responses

Jason Rist jrist at redhat.com
Sat Aug 13 17:12:02 UTC 2011


On 08/12/2011 02:07 PM, Bryan Kearney wrote:
> Look at the following:
> 
> katello> system list --org ACME_Corporation
> --------------------------------------------------------------------------------------------------------------
> 
>                                     Systems List For Org ACME_Corporation
> 
>  Id   Name
> --------------------------------------------------------------------------------------------------------------
> 
>  1    bkearney.rdu.redhat.com
> 
> 
> 
> katello> system list --org ACME_Corporation --env Dev
> --------------------------------------------------------------------------------------------------------------
> 
>                            Systems List For Environment Dev in Org
> ACME_Corporation
> 
>  Id   Name
> --------------------------------------------------------------------------------------------------------------
> 
>  1    bkearney.rdu.redhat.com
> 
> 
> 
> katello> system list --org ACME_Corporation --env Prod
> error: operation failed: No systems found in environment 'Prod',
> 
> 
> Quick Usability question..  would we want the last message to not say
> error? Just say No systems found?
> 
> -- bk
> 
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel

Is it an error? I don't think so.  I think it should just say "No
systems available in environment 'Prod' ?

-J

-- 
Jason E. Rist
Senior Software Engineer
Systems Management and Cloud Enablement
Red Hat, Inc.
+1.919.754.4048
Freenode: jrist




More information about the katello-devel mailing list