We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8a9bcd commit 048b22eCopy full SHA for 048b22e
LiteDB.Shell/Commands/Help.cs
@@ -28,7 +28,7 @@ public void Execute(StringScanner s, Env env)
28
// getting all HelpAttributes inside assemblies
29
var helps = AppDomain.CurrentDomain.GetAssemblies()
30
.SelectMany(x => x.GetTypes())
31
- .Select(x => CustomAttributeExtensions.GetCustomAttributes(typeof(HelpAttribute), true).FirstOrDefault())
+ .Select(x => CustomAttributeExtensions.GetCustomAttributes(x, typeof(HelpAttribute), true).FirstOrDefault())
32
.Where(x => x != null)
33
.Select(x => x as HelpAttribute)
34
.ToArray();
@@ -49,4 +49,4 @@ public void Execute(StringScanner s, Env env)
49
}
50
51
52
-}
+}
0 commit comments