Skip to content

Commit

Permalink
Fix Start_App_Args
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Dec 3, 2013
1 parent 56c687e commit 56ffc0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 22 deletions.
4 changes: 2 additions & 2 deletions src/i-nex/.settings
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ File[8]=".src/ScreenShot.class:20.21"
File[9]=".src/ScreenShotM.module:7.0"
File[10]=".src/USB_Drives.module:13.0"
File[11]=".src/Asound_Drives.module:34.12"
Active=12
File[12]=".src/FReport_Gen.form"
File[13]=".src/FReport_Gen.class:56.5"
File[14]=".src/Start_App_Args.form"
File[15]=".src/Start_App_Args.class:2.0"
Active=15
File[15]=".src/Start_App_Args.class:26.17"
File[16]=".src/ChkPrm.module:21.19"
File[17]=".src/thermal_zone.module:21.25"
File[18]=".src/FModules.form"
Expand Down
2 changes: 1 addition & 1 deletion src/i-nex/.src/FReport_Gen.form
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
Move(7,336,476,28)
{ CheckBox11 CheckBox paste
Name = "CheckBox11"
Move(0,0,186,24)
Move(0,0,315,28)
AutoResize = True
Text = ("Send report to nopaste service: ")
}
Expand Down
21 changes: 2 additions & 19 deletions src/i-nex/.src/Start_App_Args.class
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ Public Sub Form_Open()
"\n"
"\nUsage: " & Application.name & ".gambas [Options]"
"\nOptions:"
"\n--help (Chow Help)"
"\n--about (Show About dialog)"
"\n--gen_report (Show Report dialog)"
"\n--modules (Show info about modules)")
"\n--help (Chow Help)")
S = False
Me.Close

Expand All @@ -26,32 +23,18 @@ Public Sub Form_Open()
S = False
Me.Close

Case "--gen_report"
Finfosys.Show
Finfosys.Hide
FReport_Gen.Show
S = False
Me.Close

Case ""
Finfosys.Show
S = False
Me.Close

Case "--modules"
FModules.Show
S = False
Me.Close

End Select

If S = True Then
Message.Warning("Bad Arguments!!\n"
"Usage: i-nex.gambas [Options]\n"
"Options:\n"
"--help (Chow Help)\n"
"--about (Show About dialog)\n"
"--gen_report (Show Report dialog)")
"--help (Chow Help)\n")
Me.Close
Endif

Expand Down

0 comments on commit 56ffc0d

Please sign in to comment.