Fix warning from CLI parser (#351)

`-p` is deprecated as an abbreviation for `--project`, and using `-p` generates a warning.
This commit is contained in:
gruve-p 2022-01-03 09:37:04 +01:00 committed by GitHub
parent de6d25edf7
commit b42e5dc031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
dotnet run --no-launch-profile --no-build -c Release -p .\NBXplorer\NBXplorer.csproj -- $args
dotnet run --no-launch-profile --no-build -c Release --project .\NBXplorer\NBXplorer.csproj -- $args

2
run.sh
View File

@ -1,3 +1,3 @@
#!/bin/bash
dotnet run --no-launch-profile --no-build -c Release -p "NBXplorer/NBXplorer.csproj" -- $@
dotnet run --no-launch-profile --no-build -c Release --project "NBXplorer/NBXplorer.csproj" -- $@