mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-11 23:46:15 +00:00
Add output text before and after the json
This commit is contained in:
parent
d493065ee7
commit
4fdb5ae5c1
@ -316,10 +316,12 @@ public class CommandLineIngestManager extends CommandLineManager {
|
|||||||
case LIST_ALL_INGEST_PROFILES:
|
case LIST_ALL_INGEST_PROFILES:
|
||||||
List<IngestProfile> profiles = IngestProfiles.getIngestProfiles();
|
List<IngestProfile> profiles = IngestProfiles.getIngestProfiles();
|
||||||
GsonBuilder gb = new GsonBuilder();
|
GsonBuilder gb = new GsonBuilder();
|
||||||
|
System.out.println("Listing ingest profiles");
|
||||||
for(IngestProfile profile: profiles) {
|
for(IngestProfile profile: profiles) {
|
||||||
String jsonText = gb.create().toJson(profile);
|
String jsonText = gb.create().toJson(profile);
|
||||||
System.out.println(jsonText);
|
System.out.println(jsonText);
|
||||||
}
|
}
|
||||||
|
System.out.println("Ingest profile list complete");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user