add --docs flag for utility

This commit is contained in:
Chris Forbes
2012-10-09 12:22:03 +13:00
committed by Matthias Mailänder
parent 7c31a8f28e
commit d0cf627b23
3 changed files with 47 additions and 0 deletions

View File

@@ -351,4 +351,11 @@ namespace OpenRA.FileFormats
}
public class FieldFromYamlKeyAttribute : Attribute { }
// mirrors DescriptionAttribute from System.ComponentModel but we dont want to have to use that everywhere.
public class DescAttribute : Attribute
{
public readonly string Description;
public DescAttribute(string description) { Description = description; }
}
}