'snap find <foo>' output is a little agressive when '<foo>' results in no snaps

Bug #1606053 reported by Thomi Richards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Fix Released
Medium
Unassigned

Bug Description

Consider the following:

```
  $ snap find inkscape
  error: no snaps found for "inkscape"
```

I think it's a little... rude, to say "error:" It implies that *I've* done something wrong (did I not use the correct command? Was I missing an option flag?), rather than that my search returned no results.

May I suggest instead, that the following would be much nicer:

```
  $ snap find inkscape
  The search "inkscape" returned 0 snaps.

  $ snap find gmail
  Name Version Developer Notes Summary
  gmailfilter 0.0.1a thomi - Programmatically filter gmail messages
  The search "gmail" returned 1 snap.
```

Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 1606053] [NEW] 'snap find <foo>' output is a little agressive when '<foo>' results in no snaps

Yes, thank you, that's much better language. I would only say that if
there are matches we don't need to provide a count of them, just the
listing is sufficient.

 status: confirmed
 importance: medium

Mark

Changed in snappy:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :
Changed in snappy:
status: Confirmed → In Progress
Michael Vogt (mvo)
Changed in snappy:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.