Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix for Issue #263 #276

Merged
merged 2 commits into from

2 participants

@vhosune

print the help when no arguments are supplied

vhosune added some commits
@vhosune vhosune Fix Issue #263 cf65a98
@vhosune vhosune Fix crash on --warn-undocumented-param
this class is not key value coding-compliant for the key
warnUndocumentedParam.
79af3f7
@tomaz
Owner

Cool, thanks, merging right now.

@tomaz tomaz merged commit 6f01b63 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 4, 2012
  1. @vhosune

    Fix Issue #263

    vhosune authored
  2. @vhosune

    Fix crash on --warn-undocumented-param

    vhosune authored
    this class is not key value coding-compliant for the key
    warnUndocumentedParam.
This page is out of date. Refresh to see the latest.
Showing with 13 additions and 0 deletions.
  1. +13 −0 Application/GBAppledocApplication.m
View
13 Application/GBAppledocApplication.m
@@ -511,6 +511,13 @@ - (NSString *)combineBasePath:(NSString *)base withRelativePath:(NSString *)path
#pragma mark Xcode, Global and project settings handling
- (void)injectXcodeSettingsFromArguments:(NSArray *)arguments {
+
+ if([arguments count] == 1)
+ {
+ [self printHelp];
+ return;
+ }
+
//check if even deal with a project
NSString *path = [arguments objectAtIndex:1];
if(![path.pathExtension isEqualToString:@"xcodeproj"])
@@ -807,6 +814,10 @@ - (void)setWarnMissingOutputPath:(BOOL)value { self.settings.warnOnMissingOutput
- (void)setWarnMissingCompanyId:(BOOL)value { self.settings.warnOnMissingCompanyIdentifier = value; }
- (void)setWarnUndocumentedObject:(BOOL)value { self.settings.warnOnUndocumentedObject = value; }
- (void)setWarnUndocumentedMember:(BOOL)value { self.settings.warnOnUndocumentedMember = value; }
+- (void)setWarnUndocumentedParam:(BOOL)value { self.settings.warnOnUndocumentedParam = value; }
+
+
+
- (void)setWarnEmptyDescription:(BOOL)value { self.settings.warnOnEmptyDescription = value; }
- (void)setWarnUnknownDirective:(BOOL)value { self.settings.warnOnUnknownDirective = value; }
- (void)setWarnInvalidCrossref:(BOOL)value { self.settings.warnOnInvalidCrossReference = value; }
@@ -815,6 +826,8 @@ - (void)setNoWarnMissingOutputPath:(BOOL)value { self.settings.warnOnMissingOutp
- (void)setNoWarnMissingCompanyId:(BOOL)value { self.settings.warnOnMissingCompanyIdentifier = !value; }
- (void)setNoWarnUndocumentedObject:(BOOL)value { self.settings.warnOnUndocumentedObject = !value; }
- (void)setNoWarnUndocumentedMember:(BOOL)value { self.settings.warnOnUndocumentedMember = !value; }
+- (void)setNoWarnUndocumentedParam:(BOOL)value { self.settings.warnOnUndocumentedParam = !value; }
+
- (void)setNoWarnEmptyDescription:(BOOL)value { self.settings.warnOnEmptyDescription = !value; }
- (void)setNoWarnUnknownDirective:(BOOL)value { self.settings.warnOnUnknownDirective = !value; }
- (void)setNoWarnInvalidCrossref:(BOOL)value { self.settings.warnOnInvalidCrossReference = !value; }
Something went wrong with that request. Please try again.