mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Show help if no arguments are passed.
This commit is contained in:
@@ -60,6 +60,12 @@ namespace Aaru
|
||||
[STAThread]
|
||||
public static int Main(string[] args)
|
||||
{
|
||||
if(args.Length == 0)
|
||||
args = new[]
|
||||
{
|
||||
"--help"
|
||||
};
|
||||
|
||||
object[] attributes = typeof(MainClass).Assembly.GetCustomAttributes(typeof(AssemblyTitleAttribute), false);
|
||||
_assemblyTitle = ((AssemblyTitleAttribute)attributes[0]).Title;
|
||||
attributes = typeof(MainClass).Assembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
|
||||
|
||||
Reference in New Issue
Block a user