mirror of https://github.com/lidarr/Lidarr
More information about arguments when installing updates
This commit is contained in:
parent
903e804425
commit
f214f97047
|
@ -88,12 +88,26 @@ namespace NzbDrone.Update
|
|||
return startupContext;
|
||||
}
|
||||
|
||||
if (args.Count() >= 3)
|
||||
else if (args.Count() == 3)
|
||||
{
|
||||
startupContext.UpdateLocation = args[1];
|
||||
startupContext.ExecutingApplication = args[2];
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
logger.Debug("Arguments:");
|
||||
|
||||
foreach (var arg in args)
|
||||
{
|
||||
logger.Debug(" {0}", arg);
|
||||
}
|
||||
|
||||
var message = String.Format("Number of arguments are unexpected, expected: 3, found: {0}", args.Count());
|
||||
|
||||
throw new ArgumentOutOfRangeException("args", message);
|
||||
}
|
||||
|
||||
return startupContext;
|
||||
}
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
}
|
||||
|
||||
@media (min-width: @screen-md-min) {
|
||||
width : 140px;
|
||||
width : 135px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue