diff --git a/src/NzbDrone.Update/UpdateApp.cs b/src/NzbDrone.Update/UpdateApp.cs index 582efd936..3691f6fce 100644 --- a/src/NzbDrone.Update/UpdateApp.cs +++ b/src/NzbDrone.Update/UpdateApp.cs @@ -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; } diff --git a/src/UI/Calendar/calendar.less b/src/UI/Calendar/calendar.less index 2f7c715e8..3aedf3eef 100644 --- a/src/UI/Calendar/calendar.less +++ b/src/UI/Calendar/calendar.less @@ -119,7 +119,7 @@ } @media (min-width: @screen-md-min) { - width : 140px; + width : 135px; } } }