mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +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:
|
||||
List<IngestProfile> profiles = IngestProfiles.getIngestProfiles();
|
||||
GsonBuilder gb = new GsonBuilder();
|
||||
System.out.println("Listing ingest profiles");
|
||||
for(IngestProfile profile: profiles) {
|
||||
String jsonText = gb.create().toJson(profile);
|
||||
System.out.println(jsonText);
|
||||
}
|
||||
System.out.println("Ingest profile list complete");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user