Skip to content

Commit

Permalink
mark output as required
Browse files Browse the repository at this point in the history
  • Loading branch information
shimamura-hougetsu committed May 25, 2021
1 parent 4677e05 commit 1dd99fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CsmStudioCompiler/CsmStudioCompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class CompilingOptions
[Option('l', "lang", HelpText = "Languages of subtitles")]
public IEnumerable<string> SubtitleLangs { get; set; }

[Option('o', "outputM2ts", HelpText = "Output filename")]
[Option('o', "outputM2ts", Required = true, HelpText = "Output filename")]
public string OutputM2ts { get; set; }

[Option("outputClpi", Default = "", HelpText = "Output filename of .clpi file if specified separately")]
Expand Down
4 changes: 2 additions & 2 deletions CsmStudioCompiler/CsmStudioCompiler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@
<HintPath>..\packages\BluraySharp.0.3.7\lib\net40-client\BluraySharp.Entities.dll</HintPath>
</Reference>
<Reference Include="BluraySharp.Extension.Ssls">
<HintPath>..\..\CsmStudioCli\lib\BluraySharp.Extension.Ssls.dll</HintPath>
<HintPath>lib\BluraySharp.Extension.Ssls.dll</HintPath>
</Reference>
<Reference Include="CommandLine, Version=2.8.0.0, Culture=neutral, PublicKeyToken=5a870481e358d379, processorArchitecture=MSIL">
<HintPath>..\packages\CommandLineParser.2.8.0\lib\net45\CommandLine.dll</HintPath>
</Reference>
<Reference Include="CsmStudio.ProjectManager">
<HintPath>..\..\CsmStudioCli\lib\CsmStudio.ProjectManager.dll</HintPath>
<HintPath>lib\CsmStudio.ProjectManager.dll</HintPath>
</Reference>
<Reference Include="System" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The usage is as follows:
-l, --lang Languages of subtitles
-o, --output Output filename
-o, --output Required. Output filename
--outputClpi Output filename of .clpi file if specified separately
Expand Down

0 comments on commit 1dd99fc

Please sign in to comment.