title: Trying to deploy multiple functions following deploy instruction result in ERROR, too many arg
body: <p>I have an index.js with some exports in it that each includes only one function. I try to deploy a few of them at once and CLI gives me the error below; </p>
  
  <pre><code>Error: Too many arguments. Run firebase help deploy for usage instructions
  </code></pre>
  
  <p>What am I doing wrong? based on the --help I can use something like this: </p>
  
  <pre><code>firebase deploy --only functions:func1,functions:func2
  </code></pre>
  
  <p><strong>Additional Info:</strong> I'm using firebase CLI v3.9.2. Following the <a href="https://firebase.google.com/docs/cli/#partial_deploys" rel="nofollow noreferrer">documentation</a> I have restructured my functions to be in format of </p>
  
  <pre><code>exports.groupA = {
  
  func1: functions.https.onRequest(...),
  
  func2: functions.database.ref('\path').onWrite(...),
  
  } 
  </code></pre>
  
  <p>and still doesn't work! not sure why.I run something like </p>
  
  <pre><code>firebase deploy --only functions:groupA.func1,func2
  </code></pre>
  
  <p>or </p>
  
  <pre><code>firebase deploy --only functions:groupA.func1,functions:groupA.func2
  </code></pre>
  
  <p>and many more variations .. with no luck. </p>