Long:`The step executes the [sonar-scanner](https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner) cli command to scan the defined sources and publish the results to a SonarQube instance.`,
cmd.Flags().StringVar(&stepConfig.Instance,"instance","SonarCloud","Jenkins only: The name of the SonarQube instance defined in the Jenkins settings. DEPRECATED: use host parameter instead")
cmd.Flags().StringVar(&stepConfig.Host,"host",os.Getenv("PIPER_host"),"The URL to the Sonar backend.")
cmd.Flags().StringVar(&stepConfig.Token,"token",os.Getenv("PIPER_token"),"Token used to authenticate with the Sonar Server.")
cmd.Flags().StringVar(&stepConfig.Organization,"organization",os.Getenv("PIPER_organization"),"SonarCloud.io only: Organization that the project will be assigned to in SonarCloud.io.")
cmd.Flags().StringVar(&stepConfig.CustomTLSCertificateLinks,"customTlsCertificateLinks",os.Getenv("PIPER_customTlsCertificateLinks"),"List of comma-separated download links to custom TLS certificates. This is required to ensure trusted connections to instances with custom certificates.")
cmd.Flags().StringVar(&stepConfig.SonarScannerDownloadURL,"sonarScannerDownloadUrl","https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.3.0.2102-linux.zip","URL to the sonar-scanner-cli archive.")
cmd.Flags().StringVar(&stepConfig.ProjectVersion,"projectVersion",os.Getenv("PIPER_projectVersion"),"The project version that is reported to SonarQube.")
cmd.Flags().StringSliceVar(&stepConfig.Options,"options",[]string{},"A list of options which are passed to the sonar-scanner.")
cmd.Flags().StringVar(&stepConfig.BranchName,"branchName",os.Getenv("PIPER_branchName"),"Non-Pull-Request only: Name of the SonarQube branch that should be used to report findings to.")
cmd.Flags().StringVar(&stepConfig.ChangeID,"changeId",os.Getenv("PIPER_changeId"),"Pull-Request only: The id of the pull-request.")
cmd.Flags().StringVar(&stepConfig.ChangeBranch,"changeBranch",os.Getenv("PIPER_changeBranch"),"Pull-Request only: The name of the pull-request branch.")
cmd.Flags().StringVar(&stepConfig.ChangeTarget,"changeTarget",os.Getenv("PIPER_changeTarget"),"Pull-Request only: The name of the base branch.")
cmd.Flags().StringVar(&stepConfig.PullRequestProvider,"pullRequestProvider","GitHub","Pull-Request only: The scm provider.")
cmd.Flags().StringVar(&stepConfig.Owner,"owner",os.Getenv("PIPER_owner"),"Pull-Request only: The owner of the scm repository.")
cmd.Flags().StringVar(&stepConfig.Repository,"repository",os.Getenv("PIPER_repository"),"Pull-Request only: The scm repository.")
cmd.Flags().StringVar(&stepConfig.GithubToken,"githubToken",os.Getenv("PIPER_githubToken"),"Pull-Request only: Token for Github to set status on the Pull-Request.")
cmd.Flags().BoolVar(&stepConfig.DisableInlineComments,"disableInlineComments",false,"Pull-Request only: Disables the pull-request decoration with inline comments. DEPRECATED: only supported in SonarQube < 7.2")
cmd.Flags().BoolVar(&stepConfig.LegacyPRHandling,"legacyPRHandling",false,"Pull-Request only: Activates the pull-request handling using the [GitHub Plugin](https://docs.sonarqube.org/display/PLUG/GitHub+Plugin). DEPRECATED: only supported in SonarQube < 7.2")
cmd.Flags().StringVar(&stepConfig.GithubAPIURL,"githubApiUrl","https://api.github.com","Pull-Request only: The URL to the Github API. see [GitHub plugin docs](https://docs.sonarqube.org/display/PLUG/GitHub+Plugin#GitHubPlugin-Usage) DEPRECATED: only supported in SonarQube < 7.2")