<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:srivastava.d@samsung.com" title="DEEPAK SRIVASTAVA <srivastava.d@samsung.com>"> <span class="fn">DEEPAK SRIVASTAVA</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - Error msg from pactl not quite accurate for 'mute' commands"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90117">bug 90117</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>ASSIGNED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Assignee</td>
           <td>pulseaudio-bugs@lists.freedesktop.org
           </td>
           <td>srivastava.d@samsung.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - Error msg from pactl not quite accurate for 'mute' commands"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90117#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - Error msg from pactl not quite accurate for 'mute' commands"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90117">bug 90117</a>
              from <span class="vcard"><a class="email" href="mailto:srivastava.d@samsung.com" title="DEEPAK SRIVASTAVA <srivastava.d@samsung.com>"> <span class="fn">DEEPAK SRIVASTAVA</span></a>
</span></b>
        <pre><a href="http://lists.freedesktop.org/archives/pulseaudio-discuss/2015-June/024063.html">http://lists.freedesktop.org/archives/pulseaudio-discuss/2015-June/024063.html</a>


Updated the error string for mute commands in pactl. If someone forget to
specify
the parameter on the commandline the resulting error message isn't quite right.

BugLink: <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - Error msg from pactl not quite accurate for 'mute' commands"
   href="show_bug.cgi?id=90117">https://bugs.freedesktop.org/show_bug.cgi?id=90117</a>

Signed-off-by: Deepak Srivastava <srivastava.d at samsung.com>
---
 src/utils/pactl.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/utils/pactl.c b/src/utils/pactl.c
index d6791d4..e9bf005 100644
--- a/src/utils/pactl.c
+++ b/src/utils/pactl.c
@@ -1953,7 +1953,7 @@ int main(int argc, char *argv[]) {
             action = SET_SINK_MUTE;

             if (argc != optind+3) {
-                pa_log(_("You have to specify a sink name/index and a mute
boolean"));
+                pa_log(_("You have to specify a sink name/index and a mute
action (0, 1, or 'toggle')"));
                 goto quit;
             }

@@ -1968,7 +1968,7 @@ int main(int argc, char *argv[]) {
             action = SET_SOURCE_MUTE;

             if (argc != optind+3) {
-                pa_log(_("You have to specify a source name/index and a mute
boolean"));
+                pa_log(_("You have to specify a source name/index and a mute
action (0, 1, or 'toggle')"));
                 goto quit;
             }

@@ -1983,7 +1983,7 @@ int main(int argc, char *argv[]) {
             action = SET_SINK_INPUT_MUTE;

             if (argc != optind+3) {
-                pa_log(_("You have to specify a sink input index and a mute
boolean"));
+                pa_log(_("You have to specify a sink input index and a mute
action (0, 1, or 'toggle')"));
                 goto quit;
             }

@@ -2001,7 +2001,7 @@ int main(int argc, char *argv[]) {
             action = SET_SOURCE_OUTPUT_MUTE;

             if (argc != optind+3) {
-                pa_log(_("You have to specify a source output index and a mute
boolean"));
+                pa_log(_("You have to specify a source output index and a mute
action (0, 1, or 'toggle')"));
                 goto quit;
             }

-- 
1.7.9.5</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>