<snapname> may be clearer than <snap name>

Bug #1764413 reported by Mark Shuttleworth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
Fix Released
High
Unassigned

Bug Description

In the did-you-mean case (a command that is not found and which is not an exact match for an existing command but is close enough to warrant suggestions) it might be clearer to suggest 'snap info <snapname>' rather than 'snap info <snap name>'. The use of a tight snapname suggest a single-word input.

Revision history for this message
Michael Vogt (mvo) wrote :

Just a quick question: we have three cases where we use "<snap name>" right now. I assume we change all three (for consistency):
"""
 sudo snap install aws-cli-compat # version 0.1
 sudo apt install aws # version 1.0

-See 'snap info <snap name>' for additional versions.
+See 'snap info <snapname>' for additional versions.

and

 sudo snap install foo1 # version 1.0, or
 sudo snap install foo2 # version 2.0

-See 'snap info <snap name>' for additional versions.
+See 'snap info <snapname>' for additional versions.

and

   command 'x-aws' from snap aws-cli (2.0)
   command 'x-aws' from deb aws (1.0)

-See 'snap info <snap name>' for additional versions.
+See 'snap info <snapname>' for additional versions.

"""

Changed in command-not-found (Ubuntu):
status: New → In Progress
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package command-not-found - 18.04.3

---------------
command-not-found (18.04.3) bionic; urgency=medium

  * Change <snap name> to <snapname> (LP: #1764413)
  * Update static commands data

 -- Michael Vogt <email address hidden> Tue, 17 Apr 2018 08:22:35 +0200

Changed in command-not-found (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 1764413] Re: <snapname> may be clearer than <snap name>

Yes, thanks Michael, all three for consistency.

Mark

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers